An analogue of the prime number theorem for closed orbits of Axiom A flows