cardinality math example