Caching of counters at each iteration in HyperAnf