I am trying to write a program which calculates $\pi(x)$, however, the equation requires several instances of the letter $\rho$. I understand that $\rho$ indexes the non-trivial zeroes of the Riemann zeta function, but in the equation, there is no reference to an index of $\rho$, just $\rho$ itself. Please explain what value to give rho, or if it is supposed to somehow be integrated. Thank you.
$$\pi(x)=R(x)-\sum_\rho R\left(x^{\rho}\right)-\frac{1}{\text{ln } x}+\frac{1}{\pi}\text{ arctan }\frac{\pi }{\text{ln } x}$$

You could just do the this - it must be much more efficient: