Python Number Of Rows In Array