If a total of four beagles are shown, and at least one beagle is posed on an upholstered seat.
return beagles ;return seat ;return #2 that is upholstered ;return #1 posed on #3 ;return the  number of  #1 ;return the  number of  #4 ;return if  #5 is equal to  four ;return if  #6 is at least one ;return if  both  #7 and #8 is true
['select', 'select', 'filter', 'filter', 'aggregate', 'aggregate', 'boolean', 'boolean', 'boolean']