If at least one dog is on a grass surface
return dog ;return surface ;return #2 that is grass ;return #1 that is on #3 ;return the  number of  #4 ;return if  #5 is at least one
['select', 'select', 'filter', 'filter', 'aggregate', 'boolean']