If one image only shows the face and chest of a dog facing left.
return dogs ;return #1 that is  facing left ;return face of  #2 ;return chest of  #2 ;return #3 ,   #4 ;return images ;return #6 that shows only #5 ;return number of #7 ;return If #8 is  equal to one
['select', 'filter', 'project', 'project', 'union', 'select', 'filter', 'aggregate', 'boolean']