Lua Get String Length Python Function Example