Added XPath count for XML export