Added StatCounter code to Index