add counter for saved html pages