Added index frequency counter