powered by
Number of flat spots in a time series
flat_spots(x)
a univariate time series
A numeric value.