I look for all strings as shown below. I need to calculate the number of such calls (8 in this case) and the average of (3, 5, 8, 4, 6, 12, 4, 15). It would show in graph as number of calls and average time. Can some help on this please?
stat: Encoder return in 3 ms stat: Encoder return in 5 ms stat: Encoder return in 8 ms stat: Encoder return in 4 ms stat: Encoder return in 6 ms stat: Encoder return in 12 ms stat: Encoder return in 4 ms stat: Encoder return in 15 ms