By the Rational Root Theorem, the only possible rational roots are $\pm 1, \pm 3$, but substituting shows that none of these are roots. Hence (since $\deg f < 4$), $f$ is irreducible, so $\operatorname{Gal}(f)$ is transitive and thus $3 \mid \#\operatorname{Gal}(f) = [T : \Bbb Q]$.
On the other hand, the discriminant of $f$ is
$$\Delta_f = 4(18)^3 - 27(3^2) < 0 ,$$
so $f$ has two complex roots, and so complex conjugation is a nontrivial automorphism of $T / \Bbb Q$ of order $2$ , and hence $2 \mid \#\operatorname{Gal}(f)$. Since the order of the extension satisfies $[T : \Bbb Q] \mid (\deg f)! = 6$, we must have $[T : \Bbb Q] = 6$.
In fact, this generalizes to an efficient algorithm for computing the degree of the extension for any cubic (over $\Bbb Q$): If a cubic polynomial $g$ over $\Bbb Q$ is irreducible, then its splitting field is $\Bbb Q(\alpha, \sqrt{\Delta_g})$ for any root $\alpha$ of $g$ and either root $\sqrt{\Delta_g}$ of $\Delta_g$. Thus, $[T : \Bbb Q] = 3$ (and $\operatorname{Gal}(g) \cong A_3 \cong \Bbb Z_3$) if $\Delta_g$ is a square in $\Bbb Q$ and $[T : \Bbb Q] = 6$ (and $\operatorname{Gal}(g) \cong S_3$).