Task: Text to Code
Input (English): Show all artist names and the number of exhibitions for each artist.
Output (English): SELECT T2.name ,  count(*) FROM exhibition AS T1 JOIN artist AS T2 ON T1.artist_id  =  T2.artist_id GROUP BY T1.artist_id