If one image has items other than one or more locks.
return items ;return locks ;return #1 besides  #2 ;return images ;return number of  #3 for each  #4 ;return #4 where  #5 is at least one ;return number of  #2 for each  #6 ;return #6 where  #7 is at least one ;return number of  #8 ;return if  #9 is equal to  one
['select', 'select', 'discard', 'select', 'group', 'comparative', 'group', 'comparative', 'aggregate', 'boolean']