The function f(x) takes a string input and returns the length of the input string minus 1.

