If in one of the images, all the items are laying on their sides.
return images ;return items in  #1 ;return side of #2 ;return #2 laying on #3 ;return number of  #2 for each  #1 ;return number of  #4 for each  #1 ;return #1 where  #6 is equal to  #5 ;return number of  #7 ;return if  #8 is equal to  one
['select', 'project', 'project', 'filter', 'group', 'group', 'comparative', 'aggregate', 'boolean']