Even in the simplest case the last year of one dynasty is the first year of the next dynasty, which amounts to counting that year twice, in terms of the arithmetic process used in the Gregorian calendar.