用Python的Counter计算一个列表中每个元素的出现次数 https://cn.from-locals.com/python-collections-counter/