Update call to lua_createtable with correct pre-allocation count