fixed bug in hw-counters-by-size