Exchange term introduced by Felix Bloch is given by
$$ E_x = c_2 \int n(\vec{r})^{4 / 3} d\vec{r} $$
In the example 1.6.7 of the attached reference, the power of $n(\vec{r})$ is derived as following
$$ E_x \propto \int d\vec{r} e^2 n(\vec{r})^d $$
And the argument is that, that the dimensions of integrand is of energy density, so
$$ \text{energy density} = \left[ \frac{M}{LT^2} \right] \implies e^2 n^d = \left[ \frac{ML^3}{T^2} L^{-3d} \right] $$
I did not understand why there is a $L^3$ term in the second fraction above, because the dimensions of energy is
$$ \left[ E \right] = \left[ ML^2T^{-2} \right] $$