Task: Text to Code
Input (English): SQL: SELECT state_province_county , Count ( * ) FROM Addresses GROUP BY state_province_county
Feedback: The corresponding rows should be of customer addresses table and need to count total customers .
Output (English): SELECT t2.state_province_county ,  count(*) FROM customer_addresses AS t1 JOIN addresses AS t2 ON t1.address_id  =  t2.address_id GROUP BY t2.state_province_county