結果 : get number of rows matrix python