https://skaf.medium.com/python-trick-summarize-a-list-of-dictionaries-using-only-one-line-of-code-448595d1f2e7