question: How many objects are the same shape as the closest object?
#1 return objects 
#2 return #1 that  is  closest 
#3 return #1 besides #2 
#4 return shape of #2 
#5 return shapes of #3 
#6 return #3 where #4 is  the same as #5 
#7 return number of #6