Implemented CNT value storage with overflow logic