Database: pets_1
Question: Find number of pets owned by students.
SQL: select count(*) from student as t1 join has_pet as t2 on t1.stuid  =  t2.stuid