Updated regex to read counters