結果 : count of each character in string javascript