Task: Text to Code
Input (English): Find the name of each user and number of tweets tweeted by each of them.
Output (English): SELECT T1.name ,  count(*) FROM user_profiles AS T1 JOIN tweets AS T2 ON T1.uid  =  T2.uid GROUP BY T2.uid