Count Character Occurrence In String Python Documentation