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