If at least one person is posing with a horned animal in one of the pictures.
return person ;return animal ;return #2 that is horned ;return #1 posing with #3 ;return pictures ;return the  number of  #4 for each  #5 ;return #5 where  #6 is at least one ;return the  number of  #7 ;return if  #8 is equal to  one
['select', 'select', 'filter', 'filter', 'select', 'group', 'comparative', 'aggregate', 'boolean']