https://www.docodehere.com/2021/12/collectionscounter-in-python-hacker.html