  We compute the number of rational points of classifying stacks of Chevalley
group schemes using the Lefschetz-Grothendieck trace formula of Behrend for
$\ell$-adic cohomology of algebraic stacks. From this we also derive associated
zeta functions for these classifying stacks.
