Numpy Array Get Number Of Rows Of Matrices Math Definition