The function f(x) takes a string input and returns a value that is equal to the length of the string plus 1.

