Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.

### Instruction:

Convert text to sql: Find the number of students who are older than 18 and do not have allergy to either food or animal. | allergy_type : allergy , allergytype | has_allergy : stuid , allergy | student : stuid , lname , fname , age , sex , major , advisor , city_code | has_allergy.allergy = allergy_type.allergy | has_allergy.stuid = student.stuid | 

### Response:

select count ( _ ) from _ where _ not in ( select _ from _ where _ ) | select count ( * ) from student where age > 18 and stuid not in ( select stuid from has_allergy join allergy_type on has_allergy.allergy = allergy_type.allergy where allergy_type.allergytype = 'food' or allergy_type.allergytype = 'animal' )