$ 0 0 The counter value can be saved on mdot with at+ss before power off and restored with at+rs. This will keep it in sync.