def count_fish(fish):
    """
    Count how many fish are alive.
    :param fish: dictionary of fish
    :return: number of living fish
    """
    counter = 0
    for f in fish.values():
        counter += f

    return counter