Count

Number of input values.

Syntax

 Prefix Count(expression)
  • expression: signal expression

Prefix

TIME for calculation of the Count function for all time steps for one entity (default setting, can also be neglected)

 Time Count("x" in "unit") function returns the number of values i.e. of all the elements within the given time range.

ENTITY calculation of the Count function for all entities at one time step (has to be placed in front of function if needed)       

 Entity Count("x" in "unit") function returns the number of values i.e. of all the entities for a given time step.

Examples

 Time Count("produced oil per time increment" in "m3")

Returns the number of values over time for one entity

 Entity Count("produced oil per time increment" in "m3")

Returns the number of values of all entities for one time step

Time Count("produced water per time increment" in "STB")

alternative version:

Count("produced water per time increment" in "STB")

As you see in the following table the Count function produces following output based on the 'original signal' as input:

Date/Time

Original Signal

Time Count

01.02.2007 00:00

8

8

01.03.2007 00:00

0

8

01.04.2007 00:00

15

8

01.05.2007 00:00

22

8

01.06.2007 00:00

24

8

01.07.2007 00:00

13

8

01.08.2007 00:00

27

8

01.09.2007 00:00

6

8

Entity Count("produced water per time increment" in "STB")

As seen in the following table the Entity Count function produces following output based on the 'original signal1' and 'original signal2' as input:

Date/Time

Original Signal1

Original Signal2

Entity Count for signal1

Entity Count for signal 2

01.02.2007 00:00

8

#NULL!

1

1

01.03.2007 00:00

0

#NULL!

1

1

01.04.2007 00:00

15

19

2

2

01.05.2007 00:00

22

12

2

2

01.06.2007 00:00

24

34

2

2

01.07.2007 00:00

13

19

2

2

01.08.2007 00:00

27

15

2

2

01.09.2007 00:00

6

19

2

2