If these are sets yes they have the same elements, and so the

same number of elements. The elements of {1, 2} are 1 and 2, and

the elements of {1, 2, 1} are 1 and 2. But we would not normally

write something like {1, 2, 1} when talking about sets, so maybe

your question is really about something else?

RonL