document.evaluate('//div[@id="abc"]', null, document.body, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null).snapshotLength;