counter added to redirect pages