now counting unique phenotypes on phenotype tabs. fixes #347