I would just like to check if my proof is correct in the direction that if that function exists then $A$ is countable.
We know that $A$ is infinite, then let $A=\{a_n\}_{n=1}^{\infty}$. I think stating it like this becomes trivial instantly, so I am not sure if I am allowed to write out set $A$ like that, but I cannot see why not. $1-1$ (injection) implies that each element in the codomain of $f$ gets mapped to at most one element in the domain. Then let us define that function $f:A \rightarrow \mathbb{N}$ as follows: $f(a_n)=n$, where $n \in \mathbb{N}$. Then $A$ is countable.
Am I allowed to set the form of $f$ like I did? I think I am, since the statement says "there exists" and not "for all" (i.e. I am allowed to pick a form of $f$).