Add dynamic row count for sections.