Retrieves a result int value from an XPATH query. 0 if not found.