結果 : print repeated characters count of string in java