private void Count(CounterEvent e) { if (e.IsIncremental) { Counters.Increment(e.CounterKey); } else { Counters.SetValue(e.CounterKey, e.Value); } }