If you're going for a rating, like the instrument or later ATP, they need to be 50 miles in a straight line, not the route you're flying. If you're wanting IFR part 135 minimums (not a rating) then point-to-point will count, and that won't have to be 50 miles.