from typing import Dict


def value(state: Dict) -> int:
    """
    Returns total view count for all nodes
    :param state: current state for this node
    :return: total view count
    """
    return sum(state.values())