returns the number of pages associated with the current listing object. By default, that are all pages which are not explictly hidden. Changing the listing object by using @t(listConfig) before @t(listCount) will also change the returned value.
Filters and search queries will change that value since they will influence the page's listing object as well.



On a search results page, this tool can be used to display the number of found pages matching any search query:

    <h1>Search Results</h1>
    <h3>@t(listCount) pages found</h3>
    @t(listConfig {
        sortItem: "title",
        sortOrder: "asc"
    @t(listPages {
        variables: "title, text",
        maxChars: 80
See also