The Verlinde formula for Higgs bundles