The rank of a matrix or a linear transformation is the dimension of the image of the matrix or the linear transformation, corresponding to the number of linearly independent rows or columns of the matrix, or to the number of nonzero singular values of the map.
The rank of a matrix is implemented as MatrixRank[m].