cardinality of iterable