def amount_in_intervals(interval_list):
    """Returns the total amount of numbers covered by the intervals in the interval list"""
    amount = 0
    for a, b in interval_list:
        amount += b - a
    return amount