If in one of the images there is one animal being held.
return animals ;return #1 that are  being held ;return images of  #2 ;return number of #2 for each #3 ;return #3 where #4 is  equal to one  ;return number of #5 ;return if  #6 is  equal to one
['select', 'filter', 'project', 'group', 'comparative', 'aggregate', 'boolean']