added counters to time series plugin