You probably know the group isomorphism:
$$\begin{bmatrix}a&b\\c&d\end{bmatrix} \ \leftrightarrow \ \ M(z)=\dfrac{az+b}{cz+d}.$$
between $SL(2,C)$ ("special linear" group of matrices with complex coefficients and determinant $1$) for matrix multiplication and the so-called group of Möbius transformations for functions' composition.
(see for example this).
In particular, we have:
$$\begin{bmatrix}0&-1\\1& \ \ 0\end{bmatrix} \ \leftrightarrow \ S(z)=\dfrac{0z-1}{1z+0}=-\dfrac{1}{z} \ \ \text{and} \ \ \begin{bmatrix}W&0\\0&W^{-1}\end{bmatrix} \ \leftrightarrow \ R(z)= \dfrac{Wz+0}{0z+W^{-1}}=W^2z$$
It is possible to classify the different possible compositions ($R\circ R \circ S$ etc...) one can do with $R$ and $S$ in two types:
$$z\mapsto W^{\pm2k}z \ \ \ \ \ \text{or} \ \ \ \ \ z\mapsto - W^{\pm2k}\dfrac{1}{z}, \ \ k=0,1,...(n-1)$$
(By an immediate recurrence on the number of compositions operations) yielding $2 \times 2n = 4n$ different functions.
One can object that some of these functions could be counted twice, by the fact that $W^{2k}=W^{2k'}$ could occur for some different $k$ and $k' \in [0,n-1]$. This in fact not possible since it would imply $W^{2(k-k')}=1$ which happens if and only if $2(k-k')=0 \ $ modulo $\ n$. As $n$ is odd, it implies that $k-k'=0 \ $ modulo $\ n$.