Async While Loop Python Count Unique