Compute assignments table length on load