SELECT location_code ,  count(*) FROM Document_locations GROUP BY location_code
Show the location codes and the number of documents in each location.
SELECT location_code , count ( * ) FROM Document_locations GROUP BY location_code
select location_code , count ( * ) from document_locations group by location_code
Show the location codes and the number of documents in each location .