Fix pages' total counts