The rule applied by the function f(x) is that it returns the number of letters in the input word.

