Cardinality aggregators. Cardinality metric serde.