Measure of intermittency/continuousness of a signal
Any metric measuring the relative importance of high-frequency content vs low-frequency content will be correlated with the amount of abrupt changes in the signal.

You can try spectral roll-off (the frequency under which x% of the energy is concentrated) or spectral centroid.