from typing import Iterable


def count_increases(iterable: Iterable[int]) -> int:
    """Counts the number of increases of a number.

    An increase is given if a number is higher than its predecessor.

    Args:
        iterable (Iterable): iteratable object of type int

    Returns:
        int: number of increases.

    Examples:
        >>> count_increases([199,200,208,210,200,207,240,269,260,263])
        7
        >>> count_increases(range(10))
        9
        >>> count_increases([])
        0
    """
    last_number = None
    increase_count = 0
    for number in iterable:
        if last_number is not None and last_number < number:
            increase_count = increase_count + 1
        last_number = number
    return increase_count