The rank of the matrix $\begin{bmatrix} 6 & 0 & 4 & 4 \\ -2 & 14 & 8 & 18 \\ 14 & -14 & 0 & -10 \end{bmatrix}$ is _________