def list_numbering_start(attrs):
    """extract numbering from list element attributes"""
    if 'start' in attrs:
        try:
            return int(attrs['start']) - 1
        except ValueError:
            pass
    return 0
