Return the length of a string