Task: Text to Code
Input (English): How many animal type allergies exist?
Output (English): SELECT count(*) FROM Allergy_type WHERE allergytype  =  "animal"