track length calculation and display