getIncrementalCounter

open suspend override fun getIncrementalCounter(): Int

Retrieve the incremental counter from the data store and increments it by 1. It then stores the incremented value back into the data store.

Return

the incremented counter value. If no previous value exists, it returns 0.