If am image contains two dogs.
return images ;return dogs in  #1 ;return number of  #2 for each  #1 ;return #1 where  #3 is equal to  two ;return number of  #4 ;return if  #5 is equal to  one
['select', 'project', 'group', 'comparative', 'aggregate', 'boolean']