Are both green objects spheres?
return objects ;return #1 that are green ;return spheres ;return #3 that are green ;return number of  #2 ;return number of  #4 ;return if #5 is equal to #6
['select', 'filter', 'select', 'filter', 'aggregate', 'aggregate', 'boolean']