If an image includes a leftward-moving adult baboon walking on all fours, and each image includes one baboon on all fours.
return baboon ;return #1 that is leftward-moving ;return #2 that is a  adult ;return #3 that is walking on all fours  ;return if  #4 is in  an image  ;return images ;return baboons in  #6 ;return #7 on all fours  ;return number of  #8 for each  #6 ;return #6 where  #9 is equal to  one ;return number of  #10 ;return number of  #6 ;return if  #11 is equal to  #12 ;return if  both  #5 and #13 are true
['select', 'filter', 'filter', 'filter', 'boolean', 'select', 'project', 'filter', 'group', 'comparative', 'aggregate', 'aggregate', 'boolean', 'boolean']