If two dogs are sitting and two dogs are lying down.
return dogs ;return #1 that are sitting ;return #1 that are lying down ;return number of  #2 ;return number of  #3 ;return if  #4 is equal to  two  ;return if  #5 is equal to  two  ;return if  both  #6 and #7 are true
['select', 'filter', 'filter', 'aggregate', 'aggregate', 'boolean', 'boolean', 'boolean']