Add garbage collection to count and ranking bolts