count

Syntax

EntMetaData.count();

Parameters

Return value number

The number of properties present in the metadata collection object.

Description

The count() method returns the number of properties present in the metadata collection object.

Examples

Count the metadata properties of the active document

// Count the metadata properties of the active document.
var md = app.activeDocument.entMetaData;
var count = md.count();
alert("Number of metadata properties: " + count);

Supported versions

Adobe Version Supported
2023
2024
2025
2026