@staticmethod
def length(session, name):
    """
            Returns the length of the feature

            @param: session - the local session
            @param: name - the name of the feature one wishes to extract

            @return: feature length
        """
    xml = session.fetchxml('/features/%s' % name)
    return int(xml.find('feature/tag[@name="feature_length"]').attrib.get(
        'value'))
