I'm trying to derive the entropy of a black hole, given the density of states of a bosonic string (the details are not relevant). The density of states is
$$ \omega(E) = E^\alpha e^{\beta E} $$
The entropy is defined as
$$ S = k\ln \Omega, $$
where $\Omega$ is the number of microstates.
I would suppose that the number of microstates in the energy interval $(E,E+\delta E)$ would be $\delta \Omega = \omega \delta E$. So the increase in entropy is
$$\delta S = k \ln{\omega \delta E} = k \ln (E^\alpha e^{\beta E} \delta E),$$
which can't be right because according to equation $11.9.4$ in http://arxiv.org/abs/1506.07798, it should be (in the high energy limit, which ignores the power contribution in $E$)
$$\delta S = k\beta \delta E.$$
So what is the correct way to derive the entropy from the density of states?
It seems that $\delta S = k\ln \omega(\delta E) $ would work, but it involves a logarithm of a quantity with dimensions.