Switch from incrementing a counter each time a new ID is generated to getting the MAX_ID value from Hbase when collecting the stats.