If there are two dogs on the grass, one of the dogs is laying down
return dogs ;return grass ;return #1 that are on #2 ;return number of  #3 ;return if  #4 is equal to  two ;return #3 that is laying down ;return number of  #6 ;return if  #7 is equal to  one ;return if  both  #5 and #8 are true
['select', 'select', 'filter', 'aggregate', 'boolean', 'filter', 'aggregate', 'boolean', 'boolean']