Lemma (rank of matrices in row-reduced echelon form)
If a matrix $A$ is in row-reduced echelon form, then the row rank of $A$ is the number of non-zero rows.
If a matrix $A$ is in row-reduced echelon form, then the row rank of $A$ is the number of non-zero rows.