SELECT count(*) FROM Student WHERE age  >  18 AND StuID NOT IN ( SELECT StuID FROM Has_allergy AS T1 JOIN Allergy_Type AS T2 ON T1.Allergy  =  T2.Allergy WHERE T2.allergytype  =  "food" OR T2.allergytype  =  "animal")
Find the number of students who are older than 18 and do not have allergy to either food or animal.
SELECT count ( * ) FROM Student WHERE age > 18 AND StuID NOT IN ( SELECT StuID FROM Has_allergy AS T1 JOIN Allergy_Type AS T2 ON T1.Allergy = T2.Allergy WHERE T2.allergytype = `` food '' OR T2.allergytype = `` animal '' )
select count ( * ) from student where age > value and stuid not in ( select stuid from has_allergy as t1 join allergy_type as t2 on t1 . allergy = t2 . allergy where t2 . allergytype = value or t2 . allergytype = value )
Find the number of students who are older than 18 and do not have allergy to either food or animal .