The solution given is shown below.
My question is how did they count the numerator like that? What is the explanation for it please?
$$\begin{align} \frac{C_6^{14}-C_1^6\times C_6^{10}+C_2^6 \times C_6^6}{4^6}&=\frac{3003-6\times 210+15\times 1}{4^6}\\ &= \frac{1758}{4^6}\\ &= \frac{879}{2048} \end{align}$$
I understand the denominator namely because each of the four sided dice has four choices and six of them so, all possible outcomes will be $4^6$.
I believe that the 4-sided dice here has 1, 2, 3, 4 printed on its faces.
Any help is appreciated.