A linear transformation $T : \mathbb{R}^8 \rightarrow \mathbb{R}^8$ is defined on the standard basis $e_1, \ldots, e_8$ by
$$\begin{aligned}
& T e_j = e_{j+1} \quad j = 1, \ldots, 5 \\
& T e_6 = e_7 \\
& T e_7 = e_6 \\
& T e_8 = e_2 + e_4 + e_6 + e_8.
\end{aligned}$$
What is the nullity of $T$?