By a result of Hui-Li https://arxiv.org/abs/math/0605133. The fundamental groups of $M_{red}$ and $M$ are isomorphic, so one can deduce the genus from the fundamental group of $M$.