def google_nest_count(self, style):
    'calculate the nesting count of google doc lists'
    nest_count = 0
    if ('margin-left' in style):
        nest_count = (int(style['margin-left'][:(- 2)]) / self.google_list_indent)
    return nest_count
calculate the nesting count of google doc lists
def google_nest_count(self, style):
    
    nest_count = 0
    if ('margin-left' in style):
        nest_count = (int(style['margin-left'][:(- 2)]) / self.google_list_indent)
    return nest_count