How To Count Duplicate Character In Python