question: How many other objects are made of the same material as the red sphere?
#1 return objects 
#2 return red sphere 
#3 return #1 besides  #2 
#4 return material of #2 
#5 return material of #3 
#6 return #3 where #5 is  the same as #4 
#7 return number of  #6