Task: Text to Code
Input (English): What is the code of each location and the number of documents in that location?
Output (English): SELECT location_code ,  count(*) FROM Document_locations GROUP BY location_code