implement total_payment method for vcg.py