If an image contains only one dog, which is standing on a rock gazing rightward.
return dogs ;return a  rock ;return #1 standing on #2 ;return #3 gazing rightward ;return images of #1 ;return number of  #1 for each  #5 ;return #5 where  #6 is equal to  one ;return images of #4 ;return number of  #4 for each  #8 ;return #8 where  #9 is equal to  one ;return images ;return #11 in  both  #7 and #10 ;return number of  #12 ;return if  #13 is equal to  one
['select', 'select', 'filter', 'filter', 'project', 'group', 'comparative', 'project', 'group', 'comparative', 'select', 'intersection', 'aggregate', 'boolean']