COUNT

The count module increments or decrements a counter by am integer quantity. A negative value of increment will decrease the value of the counter.

PromptValid EntryDefault
Counter NameIndividual Counter, Counter Set Member, Static Name, Attribute, Expression.Individual Counter
CounterSymbol Name [Counters]Required
Counter SetSymbol Name [Counter Sets]Required
Set IndexExpression truncated to IntegerRequired
StaticSymbol Name [Statics]Required
AttributeSymbol Name [Attributes]Required
ExpressionExpressionRequired
IncrementExpression truncated to Integer1

Examples
PromptValue
CounterJobs Completed
Increment-1

Each time an entity passes this module the counter 'Jobs Completed' is decremented by 1
PromptValue
Counter Name Counter Set Member
Counter Set PartCSet
Set Index Part_type
Increment 2

This example assumes that a counter set 'PartCSet' has been defined using the SETS module. When an entity arrives at this module the entity attribute Part_Type is inspected and the appropriate counter in the set is incremented by 2