The cast on doesn’t count as a row. But it’s easier to count all the rows in the worked fabric, below the needle, and just not count the loops on the needle.