Added DebugCounter.