The function takes a string input and returns an integer value that is proportional to the length of the string.

