How To Get Number Of Elements In Array Python