Let $M$ be a finitely generated $R$-Module and let $N$ be a free module. Let $f: M \rightarrow N $ be a surjective homomorphism. Show that $N$ has a finite rank and that kernel of $f$ is finitely generated.
I have used the finite rank and other properties given to show that Kernel of $f$ is finitely generated but I don't know how to show that $N$ has a finite rank. Thanks for your help.