xml-path/src/main/java/io/restassured/path/xml/XmlPath.java
public int getInt(String path) {
        final Object object = get(path);
        return convertObjectTo(object, Integer.class);
    }
public int getInt(String path) {
        final Object object = get(path);
        return convertObjectTo(object, Integer.class);
    }
Get the result of an XML path expression as an int. For syntax details please refer to
<a href="http://www.groovy-lang.org/processing-xml.html#_manipulating_xml">this</a> url.

@param path The XML path.
@return The object matching the XML path. A {@link java.lang.ClassCastException} will be thrown if the object
cannot be casted to the expected type.