Database: cre_Doc_Template_Mgt
Question: What are all different template ids used for documents, and how many times were each of them used?
SQL: select template_id ,  count(*) from documents group by template_id