Task: Text to Code
Input (English): SQL: SELECT Party , Count ( * ) FROM party GROUP BY Party
Feedback: Should corresponds to each value of delegates from that party .
Output (English): SELECT T2.Party ,  COUNT(*) FROM election AS T1 JOIN party AS T2 ON T1.Party  =  T2.Party_ID GROUP BY T1.Party