Let \(x^3 - x + 1 \in \mathbb{Z}_3[x]\), where \(\mathbb{Z}_3[x]\) is the ring of all polynomials with coefficients in \(\mathbb{Z}_3\). Then the degree of the field extension
\[ \left. \mathbb{Z}_3[x] \middle/ \langle x^3 - x + 1 \rangle \right. \]of \(\mathbb{Z}_3\) is equal to ______. (answer in integer)
There is another way to get the same answer, by directly counting the elements of the quotient ring instead of quoting the rule that the degree equals the degree of the irreducible polynomial.
Let's summarize:
So the degree of the field extension is 3.
$$\boxed{3}$$