What is the intuition behind Dirichlet's Class Number Formula? [closed]

As the title of the question suggests, what is the intuition behind Dirichlet's Class Number Formula being true? The Dirichlet Class Number Formula is$$h(\mathcal{O}_D) = -{1\over{D}} \sum_{n=1}^D n\left({{-D}\over{n}}\right)$$for $D > 4$, where $\left({{-D}\over{n}}\right)$ is the Kronecker symbol.

closed as primarily opinion-based by Will Jagy, user26857, Dietrich Burde, user223391, graydadJul 19 '15 at 7:40

Many good questions generate some degree of opinion based on expert experience, but answers to this question will tend to be almost entirely based on opinions, rather than facts, references, or specific expertise. If this question can be reworded to fit the rules in the help center, please edit the question.

• I don't know what you mean exactly by "intuition". An instructive special case is the imaginary quadratic case, see here. For a somewhat related MO question, see here. – Dietrich Burde Jul 17 '15 at 15:05
• It is a rather elegant doublue-counting argument, but in my humble opinion it is far from being "trivial" or "intuitive". – Jack D'Aurizio Jul 17 '15 at 15:09
• Duplicate? Intuition for Class Numbers – Jonas Meyer Jul 18 '15 at 2:00