The nullity of a matrix is equal to the dimension of the Null Space of the matrix. See rank nullity theorem.