The function f(x) returns the length of the input string.
