How many lattice points (points with integer coordinates) are on the line segment whose endpoints are $(3,17)$ and $(82,150)?$ (Include both endpoints in your count.)