Pattern & gauge question

As a good knitter, I am going to do a swatch for the new I’m starting.

The pattern states:
Gauge
17 sts = 4"

The other patterns I’ve used have given a measurement of inches AND rows.

Does this mean I should do a 4" x 4" square? How many rows should I knit?

TIA

Most patterns show rows, but getting the same gauge on them is not as crucial as getting the stitches right. I would suggest you CO 20-22 sts so you can measure 17 sts in the middle; the end sts may not turn out the same size. And make it a couple inches long to get an accurate measurement of the sts.