select hang, count(distinct enekes.id) from repertoar join enekes on enekesid=enekes.id join szerep on szerepid=szerep.id group by hang;