What should we weigh to estimate heterozygosity, alleles or loci?

What should we weigh to estimate heterozygosity, alleles or loci?