Added index page counting for stats tool