Database: cre_Doc_Template_Mgt
Question: How many documents are using the template with type code 'PPT'?
SQL: select count(*) from documents as t1 join templates as t2 on t1.template_id  =  t2.template_id where t2.template_type_code  =  'ppt'