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