In reading Kevin Houston's "How to Think Like a Mathematician", there's a line stating the following:
Let $X$ be the set of finite sets. Then the cardinality of a set is a function on $X$, that is $|.|: X \to \{0\} \cup \mathbb{N}$. Note that we need $0$ in the co-domain as the set could be the empty set.
What does this mean exactly? From my understanding, this would imply that any finite set is mapped exactly to one natural number. For example, a finite set of $5$ elements would be mapped to the natural number $5$. However, is it possible to map the set itself to a value?