Python Count Repeated Characters In String