Implementation of DataCountMinSketch methods that are needed for serialization and deserialization.