Task: Text to Code
Input (English): SQL: SELECT Count ( * ) FROM country WHERE LocalName = "Spanish"
Feedback: Use language instead of local name .
Output (English): SELECT count(*) ,   max(Percentage) FROM countrylanguage WHERE LANGUAGE  =  "Spanish" GROUP BY CountryCode