Let $X=\{1,2,3\}$ on which the subgroup of $H$ of $S_3$ acts, where $$H=\{(1)(2)(3),(12)(3)\}.$$ Let $\rho$ be the permutation representation of $G$ with respect to $X$. We then have that $$\rho:G\to \text{GL}(V),\quad V\cong \Bbb C^3.$$ Now I have here that the number of distinct orbits is the number of times the unit representation is in our representation.
I can see that there are two orbits $\{1,2\},\{3\}$, and denoting our non-identity element of our group by $s$, I can see that $$\rho_s(e_1)=e_2,\quad \rho_s(e_2)=e_1,\quad \rho_s(e_3)=e_3,$$ and hence we have the representation matrices: $$\rho_s=\begin{bmatrix}0&1&0\\1&0&0\\0&0&1\end{bmatrix},\qquad \rho_i=I_{3\times 3},$$ There clearly having invariant subspace generated by $e_3$ means that we can decompose the space into $V=W\oplus \Bbb C$ and we thus have a unit representation contained in our representation $V$. There are no other unit representations contained here, but there are two orbits.
Why are there two orbits, yet only one unit representation contained?