If all images include a baby baboon, and one image clearly shows a baby baboon with an adult baboon.
return baboons ;return #1 that are baby ;return images ;return number of  #2 for each  #3 ;return #3 where  #4 is at least one ;return number of  #3 ;return number of  #5 ;return if  #6 is equal to  #7 ;return #1 that is adult ;return #2 that is with #9 ;return if  #10 is in  one image ;return if  both  #8 and #11 are true
['select', 'filter', 'select', 'group', 'comparative', 'aggregate', 'aggregate', 'boolean', 'filter', 'filter', 'boolean', 'boolean']