Fix table row count

It is relevant even when there's only one page.