small update to getPhenotypeGeneCounts()