Typescript Count Unique Values Python Compiler With Pygame