Added diff counter.