You can reduce the finite case to the infinite case.
Consider the morphism $\mathrm{Spec}(\overline{k}[x]) \to \mathrm{Spec}(k[x])$. The fiber of $(0)$ is $\mathrm{Spec}(\overline{k}(x))$, just one point, and the fiber of $(f)$ with $f \in k[x]$ irreducible is $\mathrm{Spec}(\overline{k}[x]/(f))$, which is a finite set. It follows that if $\mathrm{Spec}(\overline{k}[x])$ is infinite, the same is true for $\mathrm{Spec}(k[x])$, and they have the same cardinality.
Actually this "geometric" proof can be made more "algebraic": There are infinitely many elements in $\overline{k}$. Since every polynomial over $k$ has only finitely many roots in $\overline{k}$, there are also infinitely many elements in $\overline{k}$ which are not conjugate to each other (pairwise). Hence, their minimal polynomials generate pairwise distinct maximal ideals in $k[x]$.