I am not an expert.
The class number formula is a volume computation on $GL(1)$, and the L function of an elliptic curve is an $GL(2)$ object after using Wiles-Taylor theorem. So there are similar questions in spirit, but the main task is that if you have an L function of an elliptic curve, and know the associated $GL(2)$ representation, and can compute the residue at $s=1$, that the analytic data coincides with the algebraic data of the elliptic curve.