The total path length covered by an object is known as
distance
The distance is the total path length covered by an object irrespective of the direction i.e. even if a body comes back to its original position, distance is not zero. It is just a magnitude.