Bepaal het aantal reële oplossingen van het stelsel $$\left\{\begin{array}l\cos x_1=x_2\\ \ldots\\ \cos x_{n-1}=x_n\\ \cos x_n=x_1.\end{array}$$