The number of runs up or down is the total count of upward and downward runs in your data.
A run up is an upward run of consecutive points that exclusively increases. A run down is a downward run of consecutive points that exclusively decreases. A run ends when the direction (either up or down) changes. For example, when the preceding value is smaller, a run up begins and continues until the proceeding value is larger than the next point, then a run down begins.