Easy
Intuition\n Describe your first thoughts on how to solve this problem. \n\n# Approach\n Describe your approach to solving the problem. \n\n# Complexity\n- Time 
# Intuition\n<!-- Describe your first thoughts on how to solve this problem. -->\n\n# Approach\n<!-- Describe your approach to solving the problem. -->\n\n# Complexity\n- Time complexity: O(n2)\n<!-- Add your time complexity here, e.g. $$O(n)$$ -->\n\n- Space complexity:\n<!-- Add your space complexity here, e.g. $$O(n)$$ -->\n\n# Code\n```python3 []\nclass Solution:\n    def winningPlayerCount(self, n: int, pick: List[List[int]]) -> int:\n        players=dict()\n        for i in pick:\n            if i[0] not in players:\n                players[i[0]]=[]\n            players[i[0]].append(i[1])\n        c=0\n        print(players)\n        for player,colors in players.items():\n            if player==0:\n                c+=1\n            else:\n                for color in colors:\n                    c1=colors.count(color)\n                    if c1>player:\n                        c+=1\n                        break\n        print(c)\n        return c\n\n        \n```
['Python3']