total amount is 0 if None