FERMIONIC CHARACTER SUMS AND THE CORNER TRANSFER MATRIX