Updates the page formats in the document and recalculates the total number of pages that is displayed on the Status Bar.
Choose Tools - Update - Page Formatting
In long documents, updating the page formatting can take a while.