Simply increment a counter on startup and immediately save that counter to EEPROM.
This will record at least 100.000 resets without issue, as @StefanL38 shows us (and in practice it may be more).
Simply increment a counter on startup and immediately save that counter to EEPROM.
This will record at least 100.000 resets without issue, as @StefanL38 shows us (and in practice it may be more).