State counting in gravity and maximal entropy principle - Juan Hernandez; Mikhail Khramtsov (2026)