I'm making the gusset and lower body, and it's excellent to know that I can still count. Here's more of the pattern.
Shape Front Legs
First Row: (P1. M1P. P5. M1P) twice. P1. 17 sts.
Second and alternate rows: knit.
Third row: (P1. M1P. P7. M1P) twice. P1. 21 sts.
Fifth row: (P1. M1P. P9. M1P) twice. P1. 25 sts.
The row I was having problems with was the seventh row. The next row is knit, and then comes the row with the center st cast off. After that, I work each piece back and forth until it's finished. I hope this clears things up for everyone. Thanks for the advice you've given so far.