If the left image shows at least one goat with very long horns on its head.
return left image ;return goats in  #1 ;return horns ;return #3 that are  very long ;return #2 with  #4 on its head ;return the  number of #5 ;return If #6 is  at least one
['select', 'project', 'select', 'filter', 'filter', 'aggregate', 'boolean']