The definition of the entropy is :
$$S=k_b \ln(\Omega(E))$$ for a system that has energy $E$ fixed.
But when we look at the definition of the number of accessible microstates, we have :
$$ \Omega(E) = \int \frac{dp dq}{h}\delta(E-H)$$ that has the unit of the inverse of an energy.
But we write it inside of a logarithm in the definition of the entropy, thus it should be unitless.
Thus, there is something I don't totally understand.
Can we define $\Omega(E)$ with a Dirac delta like this?