結果 : print each character count in string java