TREFF: Get the total distance in a route