If at least one dog is in water, surrounded by water.
return dogs ;return water  ;return #1 in  #2 ;return #3 that are  surrounded by #2 ;return number of #4 ;return if  #5 is  at least one
['select', 'select', 'filter', 'filter', 'aggregate', 'boolean']