How many documents are with document type code BK for each product id?
select count(*), project_id from documents where document_type_code = "BK" group by project_id