If two dogs in similar poses are facing some type of fence in one image.
return images ;return dogs in  #1 ;return pose of #2 ;return #2 where  #3 is similar ;return fence in  #1 ;return #4 that are facing #5 ;return number of  #6 for each  #1 ;return #1 where  #7 is equal to  two ;return number of  #8 ;return if  #9 is equal to  one
['select', 'project', 'project', 'comparative', 'project', 'filter', 'group', 'comparative', 'aggregate', 'boolean']