How do I configure a player counter to end the game?

How would I incorporate that into the tracker?

I used this one, by the way: