Task: Text to Code
Input (English): SQL: SELECT T1.hand , Count ( * ) FROM players AS T1 JOIN matches AS T2 ON T1.player_id = T2.loser_id GROUP BY T2.loser_id
Feedback: Substitute loser id with hand in step 2.
Output (English): SELECT count(*) ,  hand FROM players GROUP BY hand