count
Syntax

Dossiers.count();
Parameters
Return value number
The number of Dossier objects in the collection.
Description
The count() method returns the number of Dossier objects currently in the Dossiers collection.
Examples
Get the number of dossiers in the collection
// Get the number of dossiers currently in the collection.
var count = app.dossiers.count();
alert("Number of dossiers: " + count);
Supported versions
| Adobe Version | Supported |
|---|---|
| 2023 | ✔ |
| 2024 | ✔ |
| 2025 | ✔ |
| 2026 | ✔ |