Find the rank of the matrix

A = $\displaystyle \begin{bmatrix}0&6\\0&-2\\0&5\end{bmatrix} $

I know that rank is just the number of pivots a matrix has when in reduced row echelon form, but this one is confusing to me.

RREF A = $\displaystyle \begin{bmatrix}0&1\\0&0\\0&0\end{bmatrix} $

I thought this would have a rank of 0 because there are no pivots but i was wrong and it has a rank of 1.

Why is this?

Thanks for any help :)