List document type codes and the number of documents in each code.
create table documents (document_type_code varchar, PRIMARY KEY (document_type_code))
select document_type_code, count(*) from documents group by document_type_code