I admit it may be a little bit confusing. Currently, the number of pages may be set only manually and it is independent of displayed pages in the editor. However, it is a good idea for future releases to add an auto mode that will set pages by diagram settings.
The included diagrams will be updated if you check and uncheck a diagram in the project tree. This issue will be fixed.