Python Number Of Rows In Arrays