For students who have pets, how many pets does each student have?
return students ;return #1 who  have  pets ;return pets of  #2 ;return number of  #3 for each  #2
['select', 'filter', 'project', 'group']