If there are two wolves  outside with at least one laying down in the dirt.
return wolves ;return #1 that are outside ;return dirt ;return #2 laying down in  #3 ;return the  number of  #2 ;return the  number of  #4 ;return if  #5 is equal to  two ;return if  #6 is at least one ;return if  both  #7 and #8 is true
['select', 'filter', 'select', 'filter', 'aggregate', 'aggregate', 'boolean', 'boolean', 'boolean']