If number of end points in a line, ray and a line segment are represented by X, Y and Z, what is the value of X + Y + Z? [2 MARKS]