結果 : write a java program to count number of characters in given string