If one image in the pair shows a single black dog and the other shows a single tan dog.
return one image ;return dog  in  #1 ;return #2 that is black ;return number of  #3 ;return if  #4 is equal to  one ;return other image ;return dog  in  #6 ;return #7 that is tan ;return number of  #8 ;return if  #9 is equal to  one ;return if  both  #5 and #10 are true
['select', 'project', 'filter', 'aggregate', 'boolean', 'select', 'project', 'filter', 'aggregate', 'boolean', 'boolean']