Added AtomicHistogram and SynchronizedHistogram. Restructured AbstractHistogram to support subclass-specific totalCounts to enables atomic and synchronized variants.