from typing import List
from typing import Dict


def frequency_count(li: List[int]) -> Dict[int, int]:
    """Counts frequency of each numbers in a list of numbers.

    doctests:
    >>> frequency_count([1, 2, 3, 1, 2, 3, 5, 4, 7, 7])
    {1: 2, 2: 2, 3: 2, 5: 1, 4: 1, 7: 2}
    >>> frequency_count([2, 2, 2, 3, 1])
    {2: 3, 3: 1, 1: 1}
    """

    x = {}

    for i in li:
        if i in x:
            x[i] += 1
        else:
            x[i] = 1

    return x