List document type codes and the number of documents in each code.
CREATE TABLE Documents (document_type_code VARCHAR)
[SQL] SELECT document_type_code, COUNT(*) FROM Documents GROUP BY document_type_code [/SQL]