Time Series Counter library