If at least one dog in the image on the right is wearing a collar.
return right image ;return dogs of #1 ;return collar ;return #2 wearing #3 ;return the  number of  #4 ;return if  #5 is at least one
['select', 'project', 'select', 'filter', 'aggregate', 'boolean']