How many ridges?

I am at the end of a project, but I actually don’t remember how many rows I knit before starting the pattern, thus, the pattern says knit 8 rows. So, I have 3 ridges (knit garter stitch) and my cast on row so 4 altogether. How many rows do I need to knit before I cast off so my top and bottom borders will match?
P.s this is somewhat emergent- I am hoping to finish tonight- I feel like I am cutting it close as this is a Christmas gift. I still need to wash (I stained it) and block.:knitting:

I don’t count the cast on row so I’d count this as 3 ridges = 6 rows.