I am splitting a line feature class against another class using lineonlineoverlayer. I want a counter for each segment. If an input segment is split into three segments I want a counter going 0-2. The Counter transformer simply counts the total number of features output. Is there something that increments the number of times an individual input segment is split?
Here's a sample of what I am looking for. FromID is the input OID.
FromID Segment
1 0
1 1
1 2
2 0
3 0
3 1
4 0