Task: Text to Code
Input (English): SQL: SELECT Count ( DISTINCT Headquarter ) FROM Manufacturers
Feedback: Need to find the number of distinct products manufacturers at different headquarter .
Output (English): SELECT count(DISTINCT T1.name) ,  T2.Headquarter FROM products AS T1 JOIN manufacturers AS T2 ON T1.Manufacturer  =  T2.code GROUP BY T2.Headquarter