Okay, going into Row 23, there's 23 sts, then you inc on that row, so you end up with 24 for row 24. And yes you do repeat the k2tog k1 yo 7 times total - it's given once, then says repeat 6 times. It would be helpful if pattern writers stuck the word 'more' in there, as in 'repeat 6 more times'....
Anyway, you do the repeats until there's 3 sts left, then k2, kfb, and you don't have to count the number of times you repeat. But doing the repeat 7 times 3 sts is 21, plus the k1 at the beginning and the last 3 sts and that takes 25 which is one more than you have....!!
Any chance you could stick another increase in there somewhere? I think their row numbering is off anyhow, so just knit every row with an inc until you get to 25 sts. Then you do row 24 and you'll end up with 26 sts. Do 11 more rows and you'll have 37 sts - just what you need for row 36.
Try that, I bet it works with the extra couple rows in there.