The configurational entropy of glass