How many items are the same material as the large sphere to the right of the large red cube?
return large sphere ;return red cube ;return #1 to the    right of #2 ;return material of #3 ;return items ;return materials of #5 ;return #5 where #6 is  the    same as #4 ;return number of #7
['select', 'select', 'filter', 'project', 'select', 'project', 'comparative', 'aggregate']