method
Xml.count
Xml.count(node, tag: string) -> int
Returns how many direct children of node are named tag — e.g. the number of <layer> elements in a map.
Xml.count(node, tag: string) -> int
Returns how many direct children of node are named tag — e.g. the number of <layer> elements in a map.