How to execute 3 lines every 10 executions of the loop?

I have a macro with UI.Vision and it works.
It’s a loop. Every repeat, the macro read a CSV file and open a new URL in my browser.
I would like my macro do the job 10 times and every 10 times do 3 tasks (open an URL, click on something, click on something else).
Is that possible to do this 3 tasks every time my macro loop 10 times ?
Thank you every much

Create a testsuite with inside all macros and run the complete testsuite