If there are multiple young pups with adults close to the edge of the water.
return pups ;return #1 that are young ;return adults ;return water ;return edge of #4 ;return #3 that are close to  #5 ;return #2 that are with #6 ;return number of  #7 ;return if  #8 is at least two
['select', 'filter', 'select', 'select', 'project', 'filter', 'filter', 'aggregate', 'boolean']