Python3 very  elegant and straightforward
\n\n        c = Counter(num)\n        for idx, x in enumerate(num):\n            if c[str(idx)] != int(x):\n                return False\n        return True\n
\n```\n        c = Counter(num)\n        for idx, x in enumerate(num):\n            if c[str(idx)] != int(x):\n                return False\n        return True\n```
['Python', 'Python3']