Find the sum of all real numbers $x$ that are not in the domain of the function $$f(x) = \frac{1}{x^2+7} + \frac{1}{x^3 - x^4} + \frac{1}{x^2 - 3x + 2}.$$