Calculating the entropy from the occupation probabilities of each state is often easier than calculating it from the multiplicity.