結果 : count occurrences of each word in string java using hashmap