If each image shows just one saxophone that is out of its case.
return images ;return saxophones in  #1 ;return cases in  #1 ;return #2 out of #3 ;return number of  #4 for each  #1 ;return #1 where  #5 is equal to  one ;return number of  #6 ;return number of  #1 ;return if  #7 is equal to  #8
['select', 'project', 'project', 'filter', 'group', 'comparative', 'aggregate', 'aggregate', 'boolean']