fixed genotype_frequencies to not count missing data