class Regexp::Parser

def count_captured_group

def count_captured_group
  captured_group_counts[node.level] += 1
end