Correct pagecount and appendice-cpount