Count number of times each value is taken by each register in verilated circuits