document total_rows