Python Get Number Of Elements In Array