Add getTotalCount() to Histogram