nsdiffs function

Number of differences required for a seasonally stationary series