I want to count the number of piles of pulse-shaped data.

The data shown in the figure is obtained(purple line).

We want to count the number of piles of such data.

Is it possible to implement this in an event frame or in an analisis?

Best regards.