Updating a counter every second will wear the NVS out. However, assuming a 24kb NVS partition:
once a minute should be doable actually.
As for the total work, we could use log2_work:
It is the 2-logarithm of the expected number of block header hash attempts were necessary the build the chain up to that point.