結果 : javascript count instance of character in string