How do I loop through 20 frames three times?

As the title says, all I want to do is play a 20-frame sequence and then loop back through it twice more and then stop.

All the samples I see on the 'net seem too complicated.

I came up with this code, but it doesn’t work. Am I close?

/*
i=0;
if (++i < 2) {
gotoAndPlay (“loopBulge”);
}
else {
gotoAndStop (“atLoopStop”);
}
*/