The D7100 battery indicator in the menu also has a shot counter, and it seems that the problem is mainly in the batteries themselves. Nikon batteries always reset to zero, but third party batteries sometimes do and sometimes don't. Since I rarely bother to check, and rarely use a third party charger, I haven't dug deeper or tried to figure out why the issue is intermittent, but it seems the batteries themselves are mostly responsible.