Is there an equivalent notion of winding number for non-closed curves? e.g. one that could define some notion of winding number for the curve below?
For example, I could draw a line segment starting at the origin $(0,0)$ that extends through the curve's starting point $(0,2)$ continuing upwards. Every time the curve crosses the line counter-clockwise: +1, clockwise: -1.
Is there is a different name for this that isn't winding number? Existing formalization?

From A. F. Beardon, Complex Analysis: The Argument Principle in Analysis and Topology (1979, reprinted by Dover 2020), page 91 of the 1979 edition:
From D. J. H. Garling, A Course in Mathematical Analysis, Volume III: Complex Analysis, Measure and Integration (2014), page 652:
From Ian Stewart & David Tall, Complex Analysis (second edition 2018), page 158:
Like Beardon, they give examples using additivity and non-integer values of the winding number.
From Gordon Thomas Whyburn, Topological Analysis (second edition 1964), pp.56-60: