Added a check to see if the maximum 32bit buckets are exceeded.
Added support for 64bit counters