Implement thinning for counts time series
We currently add one entry per day to our counts time series meaning it will grow without bounds and become a performance issue eventually. We should therefore implementing automatic thinning for this time series, i.e. keeply only weekly, monthly and eventually yearly data points as they become older.