# File Count in Nested Folders

The Counter Feature is designed to show the total number of files within a nested folder. It enables users to see at a glance how many files are contained within folder and subfolders.&#x20;

To set this up, make sure the **Nested Folders** option is enabled and the **Show Number of Items** box is checked. Next, decide whether you want to count files only within each folder or across both the parent folder and its nested subfolders. <br>

<figure><img src="/files/qaeN3VVp6xB54pca96PR" alt="Enable couter on FB document"><figcaption><p>Generate Document shortcode </p></figcaption></figure>

Here is how the result appears on the frontend

<figure><img src="/files/QbPoaaomKSrrX3C03F2N" alt="Show the number of files in the frontend interface"><figcaption><p>Show the number of files in the frontend interface</p></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.ninjateam.org/addons/filebird-document-library/file-count-in-nested-folders.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
