--- title: "pageCount" slug: "app-pagecount" updated: 2025-11-06T18:53:32Z published: 2025-11-06T18:53:32Z canonical: "docs.doc-know.com/app-pagecount" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.doc-know.com/llms.txt > Use this file to discover all available pages before exploring further. # pageCount ### app.pageCount 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); ``` ### Remarks Use the **app.pageIndex** and **app.pageCount** properties to detect where the user currently is within your layout experience.