setting custom stats every end window
decrementing bucket count when they are off loaded
decrementing number of events when buckets are offloaded
decrementing number of events in memory when buckets are offloaded