The given quantity is $\frac{1}{4\pi\epsilon_0}\frac{e^2}{hc}$.
We can determine the dimensions by analyzing the components of the expression.
First, consider the electrostatic force $F$ between two charges $e$ separated by a distance $r$: $F = \frac{1}{4\pi\epsilon_0}\frac{e^2}{r^2}$.
From this, the dimensions of the numerator part can be found: $[\frac{e^2}{4\pi\epsilon_0}] = [F][r^2]$.
The dimensions of force $[F]$ are $[MLT^{-2}]$ and dimensions of distance squared $[r^2]$ are $[L^2]$.
So, $[\frac{e^2}{4\pi\epsilon_0}] = [MLT^{-2}][L^2] = [ML^3T^{-2}]$.
Next, consider the energy of a photon, $E = \frac{hc}{\lambda}$.
From this, the dimensions of the denominator part can be found: $[hc] = [E][\lambda]$.
The dimensions of energy $[E]$ are $[ML^2T^{-2}]$ and dimensions of wavelength $[\lambda]$ are $[L]$.
So, $[hc] = [ML^2T^{-2}][L] = [ML^3T^{-2}]$.
Finally, the dimensions of the entire quantity are the ratio of the dimensions of the two parts:
$\left[\frac{1}{4\pi\epsilon_0}\frac{e^2}{hc}\right] = \frac{[ML^3T^{-2}]}{[ML^3T^{-2}]} = [M^0L^0T^0]$.
Therefore, the quantity is dimensionless.