Dynamic batching: use the pagesize of the view, not of the batch.

We may modify the batch size for injecting additional lines, such as total lines.