question: How many items are green cubes or blue cubes?
#1 return cubes  
#2 return #1 that are green 
#3 return #1 that are blue 
#4 return number of  #2 
#5 return number of  #3 
#6 return sum of #4 and  #5