How to calculate total liabilities