CREATE TABLE student (stuid DECIMAL, lname TEXT, fname TEXT, age DECIMAL, sex TEXT, major DECIMAL, advisor DECIMAL, city_code TEXT)
CREATE TABLE has_allergy (stuid DECIMAL, allergy TEXT)
CREATE TABLE allergy_type (allergy TEXT, allergytype TEXT)

How many allergies have type animal?
SELECT COUNT(*) FROM allergy_type WHERE allergytype = "animal"
SELECT COUNT(*) FROM "allergy_type" WHERE "allergytype" = "animal"