Totally Bounded Metric Space is Second-Countable

Theorem
Let $M = \left({X, d}\right)$ be a metric space which is totally bounded.

Then $M$ is second-countable.