Typescript Count Array Python Tutorial