5.4.3.21 Count

The Count Aggregate defined in Table 69 retrieves a count of all the raw values within an interval. If one or more raw values are non-Good, they are not included in the count, and the Aggregate StatusCode is determined using the StatusCode Calculation (see 5.4.3) for non-time based Aggregates. If no Good data exists for an interval, the count is zero.

Unless otherwise indicated, StatusCodes are Good, Calculated.

Table 69 – Count Aggregate summary
Count Aggregate Characteristics
TypeCalculated
Data TypeInt32 (negative values are not allowed)
Use BoundsNone
TimestampStartTime
StatusCode Calculations
Calculation MethodPercentValues
Partial

Set Sometimes

If an interval is not a complete interval

CalculatedSet Always
InterpolatedNot Set
RawNot Set
Multi ValueNot Set
StatusCode Common Special Cases
Before Start of DataBad_NoData
After End of DataBad_NoData
No Start BoundDoes not apply
No End BoundDoes not apply
Bound Bad Does not apply
Bound UncertainDoes not apply