  We prove a closed formula counting semistable twisted Higgs bundles of fixed
rank and degree over a smooth projective curve defined over a finite field. We
also prove a formula for the Donaldson-Thomas invariants of the moduli spaces
of twisted Higgs bundles over a curve.
