If one if the images has three dogs looking at the camera.
return dogs ;return camera ;return #1 looking at #2 ;return images ;return the  number of  #3 for each  #4 ;return #4 where  #5 is equal to  three ;return the  number of  #6 ;return if  #7 is equal to  one
['select', 'select', 'filter', 'select', 'group', 'comparative', 'aggregate', 'boolean']