First, I've defined a relation $R$ on $A$ such that $aRb$ if $a$ and $b$ are in the same part of a partition where $a,b\in A$. 

I know I need to count the number of equivalence classes produced form this relation. But I'm not sure how to proceed.