Description

Count of values in the Value array associated with selected features

Property type

A Long value.  

[out, retval]

Syntax

object.Count

The Count Property syntax has these parts:

PartDescription
objectAn expression evaluating to an object of type McFractalDimension.

Remarks

Note that is property is NOT the count of all measurement values. It is the Count of non-missing values associated with “selected” features of the ancestor McFeatures (which can be accessed via the McEngine.ParentOfOperator or McEngine.AncestorOfOperator methods; see Samples).

The measurement statistics properties, Min, Max Mean, Sum, Range, StdDev, MinFeatureIndex, MaxFeatureIndex and Count can only be made on measurements where the Attributes(mcmaidCanGetStatistics) property is True. These statistics are based only on non-missing values where the ancestor McFeatures.Selected property is True for the feature associated with the value. Thus, these properties will only be meaningfulfor measurements that yield a single scalar value for each feature of the ancestor McFeatures (that is measurments that start with a single lower-case 'm'). For all such measurements, Attributes(mcmaidOneDimPerFeature) will be True, which implies that Attributes(mcmaidPerFeatureMeasurement) is True and that Attributes(mcmaidNofDimensions) is one. For measurements where statistics are not available the result will be minus 1, an illegal count.

Since statistical properties are based on only those features of the ancestor McFeatures that have their McFeatures.Selected property True, you must make sure that you assign True to McFeatures.Selected if you want statistics on all values.

Accessing this property will automatically compute the Value if necessary.