Weil conjectures
Harder and M. S. Narasimhan described the cohomology of the moduli spaces of stable vector bundles over Riemann surfaces by counting the number of points of the moduli spaces over finite fields, and then using the Weil conjectures to recover the cohomology over the complex numbers.