Characters of quantum loop algebras