Simple solution with defaultdict
```\nclass Solution:\n    def winningPlayerCount(self, n: int, pick: List[List[int]]) -> int:\n        d = defaultdict(lambda: defaultdict(int))\n        res = 
```\nclass Solution:\n    def winningPlayerCount(self, n: int, pick: List[List[int]]) -> int:\n        d = defaultdict(lambda: defaultdict(int))\n        res = set()\n        for p, b in pick:\n            d[p][b] = d[p][b] + 1\n            if d[p][b] > p:\n                res.add(p)\n        return len(res)        \n
['Python3']