Margin loan amount

When viewing trading systems, what is a calculation that I can do to determine the exact amount of money that is currently being borrowed on margin by the trading system?

For simplicity, let’s assume that I’m viewing a system that contains only stocks, and that all stocks are priced above $5.