I\'m working with data aggregation and Firestore for an application that will work offline and online. The issue is that when it goes offline the counters will be all messed up.