On the geodetic iteration number of the contour of a graph