結果 : count unique characters in string javascript