bucket_type initialisation of count was not releasing.