The number of conjugacy classes in a finite group