Display the most common item of a repeating group

I was able to solve this to list the most popular Genres on my app. This also eliminates any Genres that haven’t been applied to a song yet. Here’s a screenshot of what I did: