What is the cardinality of this set?

{p, {p}, {p, {p}}}

my answer is 1.
is it right?

no, the set has 3 elements.

the first is p
the 2nd is the set {p}
the third is the set {p,{p}}