Add the total distance statistic