Consider f(x) = 1/x and g(x) = -sqrt(x). Find the sum of the number of intersections between f and g, and the number of intersections between f and g^(-1).