How To Count Duplicate Character In String In Python