Database: cre_Docs_and_Epenses
Question: How many documents are with document type code BK for each product id?
SQL:
SELECT count(*) ,  project_id FROM Documents WHERE document_type_code  =  "BK" GROUP BY project_id