Description Type: Number Returns the total # of pages in your app's layout. Examples // display the total # of pages in your app's layout in the debugger debug.log(app.pageCount); JavaScriptCopy Remarks Use the app.pageIndex and app.PageCount properties to detect where the user currently is within your layout experience.