How can I calculate the total time for a specific count of iteration per 1 user?

Total run is 1m for Packing in the standart output.But when I add Counter at the end of code.Counter adds the all 50 iteration(5vus * 10 iteration) and gives 3m as a result .As u know per-vu-iterations works parallel so I dont need to calculate all 50 iteration for counter. Only need 10 iteration per 1 user. Because all 5 user runs parallel.How can calculate the time for only 10 iteration per 1 user? I guess this is true for total duration time for my endpoints?

let totalPickingTimeCounter = new Counter("Total Packing Time");
export function setup() {
  let createPickingStartedSalesOrdersRes = http.post(
    Load.api + endpoints.SalesOrderLoadSeed.CreatePickingCompletedSalesOrders,
    JSON.stringify({
      salesOrderConfigurations: [
        {
          referenceNumberPrefix: "XL-",
          amount: 50,
        },
      ],
      tenant: "test",
    }),
    {
      headers: {
        apikey: "test",
        "Content-Type": "application/json",
      },
    }
  );
  let operatorAuth = Load.auth(Roles.Operator);
  let supportAuth = Load.auth(Roles.Support);
  return [
    operatorAuth.json(),
    supportAuth.json(),
    createPickingStartedSalesOrdersRes.json(),
    
  ];
}

export function handleSummary(data) {
  return {
    "result.html": htmlReport(data),
    stdout: textSummary(data, { indent: " ", enableColors: true }),
  };
}
const totalVu = 5;
export const options = {
  summaryTimeUnit: "s",
  scenarios: {
    Packing: {
      exec: "Packing",
      executor: "per-vu-iterations",
      vus: totalVu,
      iterations: 10,
      maxDuration: '35m',
    },
  },
};
export function Packing(data) {
  let tokenForOperator = data[0].access_token;
  describe("Packing run", (t) => {
    let startTime = Date.now();
    let createPackingProcessIfNotExistRes = Load.post(
      endpoints.PackingProcesses.createPackingProcessIfNotExists,
      tokenForOperator,
      JSON.stringify({
        pickingToteLabel: `${data[2][(totalVu * (exec.vu.iterationInInstance)) + (exec.vu.idInTest - 1)]}`,
        packingAddressLabel: packingAddressLabel,
        kpiTrackingProcessId: kpiId,
      })
    );

    let cargoPackageTypeBarcodeRes = Load.get(
      `${endpoints.PackingProcesses.checkOperationCargoPackageTypeBarcode}?operationName=${createdOperationName}&barcode=${createdBarcode}`,
      tokenForOperator
    );
    cargoPackageTypeBarcodeTrend.add(
      cargoPackageTypeBarcodeRes.timings.duration
    );
    let totalPackingTime = Date.now() - startTime;
    console.log("data",totalPackingTime)
    totalPickingTimeCounter.add(totalPackingTime);
}

Hi @Yusuf !
Can you use a similar construct:

for(let count =  1; count  <= 10; count ++) {
if(__VU == 1 && count  < = 10){
    let totalPackingTime = Date.now() - startTime;
    console.log("data",totalPackingTime)
    totalPickingTimeCounter.add(totalPackingTime);    }
}

__VU is the virtual user number
count is the number of iterations

@PaulM thank u very much. Yes I can use this solution