The rank of the matrix $\begin{bmatrix} 5 & 0 & -5 & 0\\ 0 & 2 & 0 & 1\\ -5 & 0 & 5 & 0\\ 0 & 1 & 0 & 2 \end{bmatrix}$ is