Consider two functions defined on R as f(x) = 2 + |x – 1| and g(x) = min (f(t)) where x≤t≤x2+x+1. If n1 denotes number of points of discontinuity of g(x) and n2 denotes number of points where g(x) is non-differentiable then (n1+n2) is equal to ___.