Calculates the number of step changes
See also
Stairs.step_changes
Stairs.step_values
Stairs.step_points
Examples
>>> s1.plot(arrows=True) >>> s1.number_of_steps 5
>>> s3.plot(arrows=True) >>> s3.number_of_steps 6
previous
staircase.Stairs.corr
next
staircase.Stairs.integral