Counter for html pages