question: How many objects are the same material as the large green sphere?
#1 return objects 
#2 return large sphere 
#3 return #2 that  is  green 
#4 return material of #1 
#5 return material of #3 
#6 return #1 where #4 is  the  same as #5 
#7 return number of  #6