How many different templates do all document use?
CREATE TABLE Documents (template_id VARCHAR)
SELECT COUNT(DISTINCT template_id) FROM Documents
### Context: CREATE TABLE Documents (template_id VARCHAR) ### Question: How many different templates do all document use? ### Answer: SELECT COUNT(DISTINCT template_id) FROM Documents