A cylinder rolls without slipping down an inclined plane, the number of degrees of freedom it has, is