First you need to calculate the energy per photon.
The photons from your stimulus are of wavelength 470nm.
Therefore, use the equation $E = hf$, where $h$ is plank's constant and $f$ is frequency and the equation $c = \lambda f$, where $\lambda$ represents wavelength, to arrive at the equation:
$E = \frac{hc}{\lambda}$ which will tell you the amount of energy per photon. Convert this answer to micro-joules (by dividing by 1 000 000).
We know that a 30 $\mu W$ is the same as 30 $\mu J/s$. So if we divide this by the energy obtained from the previous equation (assuming we have converted to micro joules), then we will arrive at the number of photons per second per square cm.
Finally, we want to take the log of this answer to give the units you require.