If one dog is indoors, and another is outdoors.
return dogs ;return #1 that are  indoors ;return #1 that are  outdoors ;return number of #2 ;return number of #3 ;return if  #4 is  equal to one ;return if  #5 is  equal to one ;return if  both  #6 and #7 are  true
['select', 'filter', 'filter', 'aggregate', 'aggregate', 'boolean', 'boolean', 'boolean']