If two animals are near a small body of water.
return animals ;return body of water ;return #2 that is small ;return #1 that are near #3 ;return number of  #4 ;return if  #5 is equal to  two
['select', 'select', 'filter', 'filter', 'aggregate', 'boolean']