count
Syntax

ManagedArticles.count();
Parameters
Return value number
The number of ManagedArticle objects in the collection.
Description
The count() method returns the number of ManagedArticle objects within the ManagedArticles collection.
Examples
Count the managed articles in the active document
// Count the managed articles in the active document.
var count = app.activeDocument.managedArticles.count();
alert("Number of managed articles: " + count);
Supported versions
| Adobe Version | Supported |
|---|---|
| 2023 | ✔ |
| 2024 | ✔ |
| 2025 | ✔ |
| 2026 | ✔ |