Easy JS solution
\n\n# Code\njavascript []\n/**\n * @param {number} n\n * @param {number[][]} pick\n * @return {number}\n */\n\nvar winningPlayerCount = function (n, pick) {\n  
\n\n# Code\n```javascript []\n/**\n * @param {number} n\n * @param {number[][]} pick\n * @return {number}\n */\n\nvar winningPlayerCount = function (n, pick) {\n    const arr = Array.from({ length: n }, () => Array(11).fill(0))\n     \n    for (let [player, color] of pick) {\n        arr[player][color]++\n    }\n\n    let count = 0\n    for (let i = 0; i < n; i++) {\n        if (arr[i].some(val => val > i)) {\n            count++\n        }\n    }\n\n    return count\n};\n\n```
['JavaScript']