private int count = 0;
public override void PreExecute()
{
base.PreExecute();
//some code where you can increment count
}
public override void PostExecute()
{
base.PostExecute();
// Count it accessible here as well
}
public override void Input0_ProcessInputRow(Input0Buffer Row)
{
//Count will be accessible but not reset here
}
Let me know if this answers your question