If there is at least one closed pouch and one open pouch.
return pouch ;return #1 that is closed ;return #1 that is open ;return the  number of  #2 ;return the  number of  #3 ;return if  #4 is at least one ;return if  #5 is at least one ;return if  both  #6 and #7 is true
['select', 'filter', 'filter', 'aggregate', 'aggregate', 'boolean', 'boolean', 'boolean']