question: How many red things are in front of the farthest thing?
#1 return things 
#2 return the  farthest #1 
#3 return #1 that  are red 
#4 return #3 that  are in front of #2 
#5 return number of #4