Task: Text to Code
Input (English): How many document types are there?
Output (English): SELECT count(*) FROM Ref_document_types