### 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.

Prompt | Valid Entry | Default
Counter Name | Individual Counter, Counter Set Member, Static Name, Attribute, Expression. | Individual Counter
Counter | Symbol Name [Counters] | Required
Counter Set | Symbol Name [Counter Sets] | Required
Set Index | Expression truncated to Integer | Required
Static | Symbol Name [Statics] | Required
Attribute | Symbol Name [Attributes] | Required
Expression | Expression | Required
Increment | Expression truncated to Integer | 1

Examples

Prompt | Value
Counter | Jobs Completed
Increment | -1

Each time an entity passes this module the counter 'Jobs Completed' is decremented by 1

Prompt | Value
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