pub fn estimate_cardinality(array: &dyn Array) -> usize
Get an estimate for the cardinality of the array (i.e. the number of unique values)
This is not currently implemented for nested types.