Consider a set $\text{A} = \{ a,b,c,d,e,f,g \}.$
Consider the following partition $\text{P}$ of set $\text{A}:$
$\text{P} : \{ \{a,b\} , \{c\}, \{d\}, \{e,f,g\} \}$
We define an equivalence relation $\text{R}$ on set $\text{A}$ such that the set of equivalence classes of $\text{R}$ is exactly the same as partition $\text{P}.$
What is the cardinality of relation $\text{R}?$