fix total edit count