question: How many colors are duplicated among the cylinders and spheres?
#1 return cylinders 
#2 return colors of #1 
#3 return spheres 
#4 return colors of #3 
#5 return colors in  both  #2 and #4 
#6 return number of #5