Every second-countable ANR has has the homotopy type of a countable CW complex. Thus every second-countable (i.e. metrisable) manifold, being an ANR, has the homotopy type of a countable CW complex.
Let $M$ be a second-countable manifold with a chosen basepoint. Note that $M$ is therefore separable and metrisable. Let $C_*(S^n,M)$ be the set of pointed maps $S^n\rightarrow M$. If $C_*(S^n,M)$ is given the uniform topology, then it becomes a separable metric space, and in particular is second-countable.
On the other hand, $C_*(S^n,M)$ in the compact-open topology is an ANR, and so homotopy equivalent to a CW complex. But since $S^n$ is compact, the compact-open and uniform topologies on $C_*(S^n,M)$ coincide. Therefore by the above $C_*(S^n,M)$ is homotopy equivalent to a countable CW complex. Thus it has countably many path-components, each of which is open. In particular
$$\pi_0(C_*(S^n,M))\cong \pi_n(M)$$
is countable.
https://mathoverflow.net/questions/201944/topological-n-manifolds-have-the-homotopy-type-of-n-dimensional-cw-complexes
https://mathoverflow.net/questions/247899/a-cw-is-of-countable-type-iff-all-its-homotopy-groups-are-countable-reference
– EBP Oct 01 '20 at 09:58