from typing import Counter


def count_occurences(items, limit=1000):
    """
    Takes a list of items and returns an ordered list of the most
    commonly occuring items in that list. The returned list will
    be equal to or less than `limit` length.
    """
    return Counter(items).most_common(n=limit)