original_docstring: Count number of specified separators (default = ',') in given string,
      avoiding occurrences of the separator inside nested braces
docstring: Count number of specified separators (default = ',') in given string,
  avoiding occurrences of the separator inside nested braces
docstring_tokens: Count number of specified separators ( default = ' ' ) in given string avoiding occurrences of the separator inside nested braces
code: def count_sep(specstr, sep=','):
      """Count number of specified separators (default = ',') in given string,
      avoiding occurrences of the separator inside nested braces"""
  
      num_seps = 0
      brace_depth = 0
      for s in specstr:
          if s == sep and brace_depth == 0:
              num_seps += 1
          elif s == '(':
              brace_depth += 1
          elif s == ')':
              brace_depth -= 1
      return num_seps
code_tokens: def count_sep ( specstr , sep = ',' ) : num_seps = 0 brace_depth = 0 for s in specstr : if s == sep and brace_depth == 0 : num_seps += 1 elif s == '(' : brace_depth += 1 elif s == ')' : brace_depth -= 1 return num_seps
short_docstring: Count number of specified separators (default = ',') in given string,
  avoiding occurrences of the separator inside nested braces
short_docstring_tokens: Count number of specified separators ( default = ' ' ) in given string avoiding occurrences of the separator inside nested braces
comment: """Count number of specified separators (default = ',') in given string,
      avoiding occurrences of the separator inside nested braces"""