Configurational entropy of magnetic skyrmions as an ideal gas