Given a set $S = \{A,B\}$ such that $A = \{1,2,3\}$ and $B = \{1,2,3\}$, what is the cardinality of S?
I know this may seem very trivial, and I am inclined to believe that the answer is $2$; my question comes from the fact that $A = B$. Since both $A$ and $B$ are the same, would that not be the same as having a repeated element, therefore making the answer $1$?