The question at hand is about undergraduate. The student's pre-PhD education likely did have loans. If you go straight from bachelors + loans to a multi-year PhD program, the student appears completely destitute in the stats. Even if they are making long-term investments in their/societies future.