A Stock-Flow Analysis of the Welfare Caseload