Fold cnt_hit() into cnt_lookup()