The function seems to return a fixed value of 5 when the input string is empty.
