If an image shows a dog sitting upright in grass, wearing a leash.
return dogs ;return grass ;return #1 that is  sitting upright ;return #3 that is  in  #2 ;return #4 that is  wearing a  leash ;return number of #5 ;return If #6 is  at least one
['select', 'select', 'filter', 'filter', 'filter', 'aggregate', 'boolean']