def google_nest_count(style):
    """calculate the nesting count of google doc lists"""
    nest_count = 0
    if 'margin-left' in style:
        nest_count = old_div(int(style['margin-left'][:-2]), GOOGLE_LIST_INDENT)
    return nest_count
dataset/ETHPy150Open lsaffre/lino/lino/utils/html2text.py/google_nest_count/original