add param count
allow specifying the stack to push to for all LuaReference objects