def count_node(root, element):
    """
    Returns the count of the node
    @param root: the root element to count from
    @param element: the element to count to
    @return: the number of nodes as integer
    """
    return len(list(root.iter(element)))