THRIFT-2882 Lua Generator: using string.len funtion to get struct(map,list,set) size