demangle partitioned counter functions, and export read_partitioned_counter, closes #23