To count the number of edges that cross a certain threshold use the following expression:
Here it will count the number of edges (rising and falling) crossing a threshold of 1V for the signal /RO in the time of 30us to 31us
Here it will count the number of edges (rising and falling) crossing a threshold of 1V for the signal /RO in the time of 30us to 31us