Can I create for loop like i.e (i = 0; i < array.length; i += 3){ } in Twig?
should be possible, have a look here