Least‐squares Estimation of an Unknown Number of Shifts in a Time Series | Synapse