# count and start

The start and count parameters to some NATS functions lets you spread output across multiple pages. We sometimes call this *paging* or *pagination*.

The start parameter hides records that come before its parameter. For example, in a 100-record list, start=0 shows all 100 records and start=75 shows that last 25 records. The count parameter sets the maximum number of records shown. For example, in a 100-record list, count=75 shows the first 75 records and count=125 shows all 100 records.

You can combine the start and count parameters to display a fixed number of records on each page. For example, you can display a 100 record list on four pages using the following combinations:

| Page | start | count |
| ---- | ----- | ----- |
| 1    | 0     | 25    |
| 2    | 26    | 25    |
| 3    | 51    | 25    |
| 4    | 76    | 25    |


---

# 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.toomuchmedia.com/nats-admin/skins-and-templates/further-reading/template-function-parameters/count-and-start.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.
