If some of the dogs are inside and the others are outside in the grass.
return dogs ;return #1 that are inside ;return #1 that are outside ;return the  grass ;return #3 in  #4 ;return number of  #2 ;return number of  #5 ;return if  #6 is at least two ;return if  #7 is at least two ;return if  both  #8 and #9 are true
['select', 'filter', 'filter', 'select', 'filter', 'aggregate', 'aggregate', 'boolean', 'boolean', 'boolean']