If the molar heat capacity of a gas in the process PT=constant is 5R, the number of degrees of freedom of molecules in the gas is