Ground-state entropy of the infinite-range model of a spin glass