結果 : count occurrence of each character in string java