If you have one polygonlayer with the country borders and one linelayer with the routes you could go and intersect the line of your users route with the underlying polygons. This should result in lines whose length depends on the corresponding country.
↧