Random Motifs: Mean and Variance