It seems that you want to count the characters/words a String has, and you are trying to do it using the charAt function of String. The function's name of each object in java is a simple english and...