added processed pages counter