Add a method to count the number of chars in a string.