max_points to keep track of the maximum number of points on the same line.points[i] in the array.
slope_count to store the count of points with the same slope relative to points[i].points[j], where j != i, calculate the slope.slope_count.max_points with the maximum value from slope_count plus one (to include points[i]).max_points as the result.