of all the small shiny objects, how many are the same color as the nearest object?
return object ;return #1 that  are small ;return #2 that  are shiny ;return #1 nearest #3 ;return color of #4 ;return #2 where color is  same as #5 ;return number of  #6
['select', 'filter', 'filter', 'filter', 'project', 'comparative', 'aggregate']