If a baby baboon is clinging to an adult baboon walking on all fours in one image, and each image contains at least one baby baboon.
return baboon ;return #1 that is baby ;return #1 that is adult ;return all fours of #3 ;return #3 that is walking on #4 ;return #2 clinging to  #5 ;return images ;return #7 of #6 ;return the  number of  #8 ;return if  #9 is equal to  one ;return the  number of  #2 for each  #7 ;return #7 where  #11 is at least one ;return the  number of  #12 ;return the  number of  #7 ;return if  #13 is equal to  #14 ;return if  both  #15 and #10 is true
['select', 'filter', 'filter', 'project', 'filter', 'filter', 'select', 'filter', 'aggregate', 'boolean', 'group', 'comparative', 'aggregate', 'aggregate', 'boolean', 'boolean']