Repeat -Loop increment counter

Regarding repeat loop

repeat(times, counterName) {

It says in doc the counter starts at 0, I want to increment the counter by 10,
how is that? Can anyone give an example.
Something like this

repeat(100, n) {
  //do something
counter= counter+10

How is that done in gatling…??

Gatling is a DSL within Scala. Thus, use your knowledge of programming to solve the problem. For example: If you want the counter to be incremented by 10’s, that is the same as 10x the counter. So, when you go to use the counter, use the counter times 10. Make sense?

For more complicated things, just do standard imperative programming techniques operating on variables stored in the session.