結果 : count character in a string javascript