If an image with no more than three gorillas shows an adult sitting behind a small juvenile ape.
return gorilla ;return #1 that is adult ;return #1 that is juvenile ;return #3 that is small ;return if  #2 is sitting behind #4 ;return number of  #1 ;return if  #6 is at most three ;return if  both  #5 and #7 are true
['select', 'filter', 'filter', 'filter', 'boolean', 'aggregate', 'boolean', 'boolean']