SELECT document_type_code ,  count(*) FROM Documents GROUP BY document_type_code
How many documents are there of each type?
SELECT document_type_code , count ( * ) FROM Documents GROUP BY document_type_code
select document_type_code , count ( * ) from documents group by document_type_code
How many documents are there of each type ?