Prime number theorems and holonomies for hyperbolic rational maps