If there are at least 3 dogs and 2 are sitting in these.
return dogs ;return number of #1 ;return If #2 is  at least 3 ;return #1 that are  sitting ;return number of #4 ;return If #5 is  equal to two ;return If both  #3 and #6 are  true
['select', 'aggregate', 'boolean', 'filter', 'aggregate', 'boolean', 'boolean']