Two smooth oriented finite curves g1, g2 on e.g. the 2-dimensional torus can intersect each other transversally in two ways: either the pair (Tg1(x),Tg2(x)) of tangent vectors in the intersection point x is a positively oriented, or a negatively oriented basis. n(x)=1 if the former is the case and n(x)=-1 otherwise.
Is there a name for the integer obtained when we take the sum of n(x) over all intersection points x?