A regular octagon rotates 360° about its center. How many times does the image of the octagon coincide with the preimage during the rotation?