If there are 2 boats woth a total of 3 sails in the image pair
return images ;return boats in  #1 ;return sails of #2 ;return number of  #2 for each  #1 ;return sum of #4 ;return if  #5 is equal to  2 ;return number of  #3 for each  #2 ;return sum of #7 ;return if  #8 is equal to  3 ;return if  both  #6 and #9 are true
['select', 'project', 'project', 'group', 'aggregate', 'boolean', 'group', 'aggregate', 'boolean', 'boolean']