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