結果 : count distinct characters in a string python