Removed persistent caching from histogramming and counting.