If at least one of the cabinets has an arched top as well as some type of legs.
return cabinets ;return top of #1 ;return #1 where  #2 is arched ;return legs ;return #3 that has #4 ;return the  number of  #5 ;return if  #6 is at least one
['select', 'project', 'comparative', 'select', 'filter', 'aggregate', 'boolean']