COUNT
- Last UpdatedMar 20, 2025
- 1 minute read
The COUNT() function returns a count of the delta points for a stream. Note that if the quality detail of a point differs from the previous point, this counts as a delta point, even if the value doesn't change.
Syntax
|
Format |
Stream = COUNT(Stream) |
|
Arguments |
Stream - A time-ordered vector of values |
|
Description |
Returns a count of delta points during the query period. The query period is based on local time. |
|
Format |
Stream = COUNT(Stream, TimeInterval) |
|
Arguments |
Stream - A time-ordered vector of values TimeInterval - The time interval over which the delta points are counted |
|
Description |
Returns a count of delta points over the specified time interval during the query period. The query period is based on local time. The returned start time is rounded down to the time interval's unit. For example, if the interval is hourly, the time stamps of all values end with "00:00.000". |