initialize a new counter
new_counter(src_ref, parent_functions)
src_ref
a srcref
srcref
parent_functions
the functions that this srcref is contained in.