4 lines
python3 []\nclass Solution:\n    def winningPlayerCount(self, n: int, pick: List[List[int]]) -> int:\n        ps = set()\n        for (p,_), cnt in Counter([(p,
```python3 []\nclass Solution:\n    def winningPlayerCount(self, n: int, pick: List[List[int]]) -> int:\n        ps = set()\n        for (p,_), cnt in Counter([(p,c) for p,c in pick]).items():\n            if cnt > p: ps.add(p)\n        return len(ps)\n```
['Python3']