I have been taught that higher pair joints (e.g. gears, cams, rollers) deduct 1 degree of freedom due to the fact that they still allow two motions
translation along the tangent surface
rotation around the instantaneous Contact point
However, in my reasoning, the higher pair does constrain 2 motions
as it is non-slipping (like gears and rollers) it gives a relationship between the angle and the location (such as $x=\theta \cdot r$)
as it rotates on a surface it gives a relationship between x and y that it household be on the surface (such as $x = y+2$)