結果 : count repeated characters in string using java 8