On the distribution of periodic orbits and linking numbers for hyperbolic flows