The Counter block counts the number of entities that pass through it. If the OutCount value port has any connections to it, the Counter block pushes its count value to the port every time it changes.
After an entity enters the Counter block, the block determines whether any block downstream of the Counter block’s OutEntity port can accept the entity before pushing the entity out the OutEntity port. If this acceptance fails, the entity is either pushed out the OutBalk port or destroyed if there are no connections to the OutBalk port.
Input entity port for entities to enter the Counter block.
Output entity port for entities that can be accepted by a downstream block.
Output entity port for entities that cannot leave using the OutEntity port.
Output integer port for the number of entities that have passed through the Counter block.
None
Count (integer)