Task: Text to Code
Input (English): How many distinct allergies are there?
Output (English): SELECT count(DISTINCT allergytype) FROM Allergy_type