setting custom stats every end window
decrementing bucket count when they are off loaded