How to make a count of all coins that does not reset

Is it possible to calculate from the player variable, I can attach a screenshot of how it works?
Or still Game Istance