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