A lattice point is a point in the plane with integer coordinates. How many lattice points are on the line segment whose endpoints are \((3,17)\) and \((48,281)\)? Include both endpoints of the segment in your count.

Let's think step by step and output the final answer within \boxed{}.
user