Lenders always considered student loan payments even during forbearance.
For deferred loans or loans in forbearance, the lender may calculate (FNMA)
a) a payment equal to 1% of the outstanding student loan balance (even if this amount is lower than the actual fully amortizing payment)
b) a fully amortizing payment using the documented loan repayment terms.