count repeated characters in string using java 8の検索結果