If each image contains only an adult gorilla, and in one image the gorilla is sitting with an elbow on a bent knee.
return gorillas ;return #1 that are adult ;return images ;return number of  #2 for each  #3 ;return #3 where  #4 is equal to  one ;return number of  #3 ;return number of  #5 ;return if  #6 is equal to  #7 ;return elbow of #1 ;return knee of #1 ;return #10 that is bent ;return #9 that is on #11 ;return #1 that is sitting ;return #13 that has #12 ;return if  #14 is in  one image  ;return if  both  #8 and #15 are true
['select', 'filter', 'select', 'group', 'comparative', 'aggregate', 'aggregate', 'boolean', 'project', 'project', 'filter', 'filter', 'filter', 'filter', 'boolean', 'boolean']