edit counter