How many balls are red and in front of the green cylinder?
return balls ;return the  green cylinder ;return #1 that  are red ;return #3 that  are in front of #2 ;return the  number of  #4
['select', 'select', 'filter', 'filter', 'aggregate']