If a real algebraic curve has no singularities except nodes and cusps, bitangents, and inflection points, then

where is the order, is the number of conjugate tangents, is the number of real inflections, is the class, is the number of real conjugate points, and is the number of real cusps. This is also called Klein's theorem.

More things to try:

Weisstein, Eric W. "Klein's Equation." From MathWorld--A Wolfram Web Resource. https://mathworld.wolfram.com/KleinsEquation.html