app.project.item(index).layer(index).propertyGroupSpec.numProperties
Description
The number of indexed properties in this group.
For layers, this method returns a value of 3, corresponding to the mask, effect, and motion tracker groups, which are the indexed groups within the layer. However, layers also have many other properties available only by name;
Type
Integer; read-only.