--- id: xml-count name: Xml.count category: xml kind: namespace-method tokens: Xml.count sig: Xml.count(node, tag: string) -> int tip: How many children have a given tag. order: 11 ns: Xml member: count --- Returns how many direct children of node are named tag — e.g. the number of <layer> elements in a map.