Context: CREATE TABLE Documents (template_id VARCHAR)
Question: Show all template ids and number of documents using each template.
Answer: SELECT template_id, COUNT(*) FROM Documents GROUP BY template_id