If every image shows exactly one dog running outside.
return dog ;return #1 that is running outside ;return images ;return the  number of  #2 for each  #3 ;return #3 where  #4 is equal to  one ;return the  number of  #3 ;return the  number of  #5 ;return if  #6 is equal to  #7
['select', 'filter', 'select', 'group', 'comparative', 'aggregate', 'aggregate', 'boolean']