how to get the number of Characters in String