Your Camera Stops Counting at 9,999 Because of a 1998 Filing Standard Written Around MS-DOS
Shoot past frame 9,999, and the camera does not run out of numbers. It closes the folder it has been writing to, opens the next one, and starts again at 0001, which is how two shoots two years apart both end up holding a file called IMG_0473.CR2.