If right and left images contain the same number of dogs.
return left image ;return dogs in  #1 ;return right image ;return dogs in  #3 ;return number of  #2 ;return number of  #4 ;return if  #5 is equal to  #6
['select', 'project', 'select', 'project', 'aggregate', 'aggregate', 'boolean']