How To Count Characters In String In Python