How many small shiny things are the same shape as the purple things?
return things ;return #1 that  are purple ;return the  shape of #2 ;return #1 that  are small ;return #1 that  are shiny ;return #1 in both #4 and #5 ;return shapes of #6 ;return #6 where #7 is  the  same as #3 ;return number of  #8
['select', 'filter', 'project', 'filter', 'filter', 'intersection', 'project', 'comparative', 'aggregate']