Task: Text to Code
Input (English): For each party, return the name of the party and the number 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