Can I get reimburse from 529 for subsidize loan that used to pay toward education expenses in the same year?

Please help, 

 

$62,150         Estimated qualified expenses on 1098T 

$28,520         School Grants

$10,442        Subsidized loan borrow in 2024

$23,188         Pay from 529 account

 

1) Am I allowed to reimburse from 529 for the loan amount of $10,442 since it was used to pay for tuition

expenses? To clarify, I do have enough money in 529 to pay for all expenses without the loan, but I wanted to take advantage of no-interest loan, so I borrowed it anyway and don't plan to pay it off until graduation)

 

2). If allowed, does it count toward the lifetime limit of $10.000 in student loans pay off.

 

Thank you so much in advance,