Apex properties reset to 0 every time

That is great to hear, thank you very much for looking into this.