Numpy Array Get Number Of Rows Of Matrices Definition In Math