}
NodeList resultedDivs = (NodeList) xpath.evaluate("//div[@id='resultStats']", startingDoc, XPathConstants.NODESET);
for(int i=0; i < resultedDivs.getLength(); i++)
{
HTMLDivElementImpl div = (HTMLDivElementImpl) resultedDivs.item(i);
System.out.println(div.getInnerText());
System.out.println(getNumberOfResults(div.getInnerText()));
}
}