If there are two dogs outside in the grass in one of the images.
return images ;return dogs in  #1 ;return #2 that are outside ;return the  grass in  #1 ;return #3 in  #4 ;return number of  #5 for each  #1 ;return #1 where  #6 is equal to  two ;return number of  #7 ;return if  #8 is equal to  one
['select', 'project', 'filter', 'project', 'filter', 'group', 'comparative', 'aggregate', 'boolean']