improved feature counter cache