Euler characteristics in the quantum K-theory of flag varieties