Degrees of freedom for the kinematic chain with 3 revolute pairs and one sliding pair as shown in figure is