In mathematics we define mathematical objects in terms of other mathematical objects. For example, some textbooks define $(a,b)$ as a set. Such as, $$(a,b):= \{\{a\},\{a,b\}\}$$
Now, the cardinality of $\{\{a\},\{a,b\}\} $ is $2$. Does this imply that the cardinality of $(a,b)$ is $2$? I find it hard to speak of the cardinality of an ordered pair.
What I am asking here is why or why not can we speak of the cardinality of an ordered pair?
My question also applies to other objects such as relations as sets or ordered pairs, complex numbers as ordered pairs of real numbers... etc.
Why can we speak of a property of some objects and can't speak of the same property regarding another object that is defined in the terms of the first?
In summary, $$\left| {\left\{ {\left\{ a \right\},\left\{ {a,b} \right\}} \right\}} \right|=2$$
$$|(a,b)|=2?$$
Thanks in advance and sorry if my question is ambiguous.