Question: How many different templates do all document use?
Schema: create table documents (template_id varchar, PRIMARY KEY (template_id))
SQL: select count(distinct template_id) from documents