Typescript Count Array Javascript Duplicates Onedrive Not Syncing