Get Number Of Lines In String Python