refactor(db): Use Mongoose's findOneAndUpdate atomic read/write functionality for counters.