If in one image there is one dog, and in the other image there are two dogs that are the same breed.
return one image  ;return dog in  #1 ;return number of  #2 ;return if  #3 is equal to  one ;return other image  ;return dogs in  #5 ;return breed of #6 ;return #6 where  #7 is the  same ;return number of  #8 ;return if  #9 is equal to  two ;return if  both  #4 and #10 are true
['select', 'project', 'aggregate', 'boolean', 'select', 'project', 'project', 'comparative', 'aggregate', 'boolean', 'boolean']