Let $A \subseteq \mathbb{R}^n$. Prove that if $A'$ is countable, then $A$ is countable.
$A'$ is the collection of all limit points of $A$.
This is the problem on Real Analysis. I know how to prove injection on $A$ to $\mathbb N=\{0,1,2,\ldots\}$, but I have no idea how to do the above problem.
HINT: Prove the contrapositive. That is, show that if $A$ is uncountable, then so is $A'$. One way to do this is to let $\mathscr{B}$ be a countable base for $\Bbb R^n$, let $\mathscr{B}_0=\{B\in\mathscr{B}:B\cap A\text{ is countable}\}$, and show that $A\setminus\bigcup\mathscr{B}_0$ is an uncountable subset of $A'$.