If one of the cabinets is dark instead of white, and both cabinets pictured have flat tops.
return cabinets  ;return #1 that are dark ;return tops of #1 ;return #1 where  #3 are flat ;return number of  #2 ;return number of  #4 ;return if  #5 is equal to  one ;return if  #6 is equal to  two ;return if  both  #7 and #8 are true
['select', 'filter', 'project', 'comparative', 'aggregate', 'aggregate', 'boolean', 'boolean', 'boolean']