The Count collector Function creates numeric value data that can range from 1 to a specified maximum value.

Select the Maximum Value to specify the number of values up to a given one. The Preview option will display the output. 

For an example of how you can use Count in a stream, see My First Stream.