On Effective Degrees of Freedom in the Early Universe