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.
| Count Aggregate Characteristics | ||
| Type | Calculated | |
| Data Type | Int32 (negative values are not allowed) | |
| Use Bounds | None | |
| Timestamp | StartTime | |
| StatusCode Calculations | ||
|---|---|---|
| Calculation Method | PercentValues | |
| Partial | Set Sometimes If an interval is not a complete interval | |
| Calculated | Set Always | |
| Interpolated | Not Set | |
| Raw | Not Set | |
| Multi Value | Not Set | |
| StatusCode Common Special Cases | ||
|---|---|---|
| Before Start of Data | Bad_NoData | |
| After End of Data | Bad_NoData | |
| No Start Bound | Does not apply | |
| No End Bound | Does not apply | |
| Bound Bad | Does not apply | |
| Bound Uncertain | Does not apply | |