Numpy Array Get Number Of Rows Of Matrix Multiplication Mathematica