Task: Text to Code
Input (English): SQL: SELECT T2.Name , Count ( * ) FROM election AS T1 JOIN representative AS T2 ON T1.Representative_ID = T2.Representative_ID GROUP BY T1.Representative_ID
Feedback: Also need to find party name .
Output (English): SELECT Party ,  COUNT(*) FROM representative GROUP BY Party