The function takes a string input and returns the length of the string as an integer.

