question: How many purple or gray objects are there?
#1 return objects 
#2 return #1 that are purple 
#3 return #1 that are gray 
#4 return number of  #2 
#5 return number of  #3 
#6 return the  sum of #4 and  #5