Show the codes for all document locations.
select location_code from document_locations
For each code, show the corresponding count of documents.
select location_code, count(*) from document_locations group by location_code