int w_ParticleSystem_count(lua_State *L) { ParticleSystem *t = luax_checkparticlesystem(L, 1); lua_pushnumber(L, t->count()); return 1; }