RBC interview question

How do you count rows in a table