結果 : count characters in a string array java