The # symbol for length is only used with arrays, so when finding the length of a string, you need to use string.len().
#
string.len()