If one dog is sitting down while the other dog is standing on all fours
return dogs ;return #1 that is  sitting down ;return #1 besides  #2 ;return #3 that is  standing on all fours ;return number of #2 ;return number of #4 ;return If #5 is  equal to one ;return If #6 is  equal to one ;return If both  #7 and #8 are  true
['select', 'filter', 'discard', 'filter', 'aggregate', 'aggregate', 'boolean', 'boolean', 'boolean']