Task: Text to Code
Input (English): SQL: SELECT Count ( * ) FROM Pets WHERE pet_age > 20
Feedback: Put has pet table and age instead of pets table and pet age .
Output (English): SELECT count(*) FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid  =  T2.stuid WHERE T1.age  >  20