If each image contains exactly three keys and only gold-bodied locks.
return images ;return keys in  #1 ;return number of  #2 for each  #1 ;return #1 where  #3 is equal to  three ;return locks in  #1 ;return #5 that are gold-bodied ;return number of  #5 for each  #1 ;return number of  #6 for each  #1 ;return #1 where  #8 is equal to  #7 ;return #1 in  both  #4 and #9 ;return number of  #10 ;return number of  #1 ;return if  #11 is equal to  #12
['select', 'project', 'group', 'comparative', 'project', 'filter', 'group', 'group', 'comparative', 'intersection', 'aggregate', 'aggregate', 'boolean']