This question already has an answer here:
I have noticed something peculiar on my Nikon D5200. If I take a set of images and remove them from the card, the next batch will start again at DSC_0001. My older non DSLR camera would continue to increase the number over time and not reset.
Is there a way to keep the numbers from resetting when the images are removed?