Task: Text to Code
Input (English): SQL: SELECT name , Count ( * ) FROM genres GROUP BY name
Feedback: Make sure to find total number of tracks .
Output (English): SELECT count(*) ,  T1.name FROM genres AS T1 JOIN tracks AS T2 ON T1.id = T2.genre_id GROUP BY T1.name