How many documents are there in total?
select count(*) from all_documents
How about the number for those with document type code CV?
select count(*) from all_documents where document_type_code = "CV"
How about CV or BK?
select count(*) from all_documents where document_type_code = "CV" or document_type_code = "BK"