How to calculate the duration of abroad travel insurance