If the horned animals in one image are all standing with their rears showing.
return horned animals ;return #1 that are standing ;return rears of #2 ;return #2 that are with #3 showing ;return images ;return number of  #1 for each  #5 ;return number of  #4 for each  #5 ;return #5 where  #6 is equal to  #7 ;return number of  #8 ;return if  #9 is equal to  one
['select', 'filter', 'project', 'filter', 'select', 'group', 'group', 'comparative', 'aggregate', 'boolean']