If one image shows exactly three dogs, each a different color.
return dogs ;return color of #1 ;return #1 where  #2 are different ;return images ;return number of  #1 for each  #4 ;return #4 where  #5 is equal to  three ;return number of  #3 for each  #6 ;return #6 where  #7 is equal to  three ;return number of  #8 ;return if  #9 is equal to  one
['select', 'project', 'comparative', 'select', 'group', 'comparative', 'group', 'comparative', 'aggregate', 'boolean']