Method GetCounters was added.