count number of initial alleles even when an initial population is not monomorphic