Task: Text to Code
Input (English): SQL: SELECT Count ( * ) FROM Ref_Template_Types
Feedback: Find different template type code of reference template types table which used for documents .
Output (English): SELECT count(DISTINCT template_id) FROM Documents