changed to compile by doing Stats.CustomStats to Context.Counters migration