The function applies the rule of returning the number of letters in a given word.

