結果 : count number of specific characters in string javascript