結果 : java count instances of character in string