# Class LoopCounter OptimaJet.Workflow.Plugins.LoopCounter Namespace: [OptimaJet.Workflow.Plugins](https://api.workflowengine.io/core/OptimaJet.Workflow.Plugins/) ```csharp public class LoopCounter ``` ## Constructors `public LoopCounter(int index, object initValue)` ### Parameters | Name | Type | Description | | --- | --- | --- | | `index` | `Int32` | | | `initValue` | `Object` | | ## Properties `public int Index { get; set; }` `public object Value { get; set; }` ## Methods `public T GetValue()` ### Returns | Type | Description | | --- | --- | | `{T}` | | [Previous IWorkflowPlugin](https://api.workflowengine.io/core/OptimaJet.Workflow.Plugins/IWorkflowPlugin/) [Next LoopPlugin](https://api.workflowengine.io/core/OptimaJet.Workflow.Plugins/LoopPlugin/)