hlen to support counters