On feature:end, sum the board.lockedCoins data values and roll the total up in your counter. See it work Recipe: Hold & Win — collector