If two rams are locking horns in each of the images.
return images ;return rams in  #1 ;return #2 that are locking horns ;return number of  #3 for each  #1 ;return #1 where  #4 is equal to  two ;return number of  #1 ;return number of  #5 ;return if  #7 is equal to  #6
['select', 'project', 'filter', 'group', 'comparative', 'aggregate', 'aggregate', 'boolean']