If at least four riders are on horses near the dogs.
return riders ;return horses ;return #1 on #2 ;return the  dogs ;return #3 near #4 ;return number of  #5 ;return if  #6 is at least four
['select', 'select', 'filter', 'select', 'filter', 'aggregate', 'boolean']