Task: Text to Code
Input (English): Count the number of different templates used for documents.
Output (English): SELECT count(DISTINCT template_id) FROM Documents