A selectively neutral m-loci model with recombination is studied. A general method is developed to calculate the variance of the number of segregating sites in samples of arbitrary size and the m-loci homozygosity. The method is based on properties of the genealogy of the sample rather than diffusion approximations. To demonstrate the scope of the method several calculations are presented.