Quantified degeneracy, entropy, and metal-insulator transition in complex transition-metal oxides