結果 : javascript count occurrences of substring in string