bug #3976 Number of pages
Merge branch 'QA_4_0'