Draw a picture!
One wants to enumerate the intersections of the graph of the function $f:x\mapsto1-\cos(x)$ with the straight line $x\mapsto2x/((2n+1)\pi)$. Since $0\leqslant f\leqslant2$, these points are all in $[0,(2n+1)\pi]$. One of these is $0$, two of these are in the interval $I_k=(2k\pi-2\pi,2k\pi)$, for each $1\leqslant k\leqslant n$, and two are in the interval $(2n\pi,(2n+1)\pi]$ (one of those being $(2n+1)\pi$).
To show this, consider the function $g:x\mapsto f(x)-2x/((2n+1)\pi)$. Then $g(2k\pi-2\pi)\lt0$, $g(2k\pi-\pi)\gt0$, $g(2k\pi)\lt0$, and $g'(x)=\sin(x)-2/((2n+1)\pi)$ hence $g'$ is negative, then positive, then negative on $I_k$. This shows that $g$ has exactly two zeroes on $I_k$, one in $(2k\pi-2\pi,2k\pi-\pi)$ and the other in $(2k\pi-\pi,2k\pi)$.
Finally, there are exactly $2n+3$ intersection points.