Cardinality
The cardinality | S | of a set S is "the number of members of S." For example, if B = {blue, white, red}, | B | = 3.
There is a unique set with no members and zero cardinality, which is called the empty set (or the null set) and is denoted by the symbol ∅ (other notations are used; see empty set). For example, the set of all three-sided squares has zero members and thus is the empty set. Though it may seem trivial, the empty set, like the number zero, is important in mathematics; indeed, the existence of this set is one of the fundamental concepts of axiomatic set theory.
Some sets have infinite cardinality. The set N of natural numbers, for instance, is infinite. Some infinite cardinalities are greater than others. For instance, the set of real numbers has greater cardinality than the set of natural numbers. However, it can be shown that the cardinality of (which is to say, the number of points on) a straight line is the same as the cardinality of any segment of that line, of the entire plane, and indeed of any finite-dimensional Euclidean space.
Read more about this topic: Set (mathematics)