total of a type of accounts