def get_degree(node):
    """
    This function returns the degree of the node.
    
    Arguments:
        node {Node} -- Node.
    
    Returns:
        [int] -- Node degree, i.e. number of node's neighbors.
    """

    return len(node.neighbors_list)