Task: Text to Code
Input (English): SQL: SELECT Count ( DISTINCT Document_Type_Code ) FROM All_Documents
Feedback: Replace document type code with document id .
Output (English): SELECT count(*) FROM Ref_document_types