select distinct "BillingCountry", count(g."Name") as genre_occurance from (select "BillingCountry", g."Name" as sub2 fro