Let f:(0,57)⟶ R and g:(0,57)⟶ R be functions defined by f(x)=2[x2] and g(x)=(2∣x−1∣+3∣x−2∣)f(x) (where [x] is the greatest integer less than or equal to x). Let
a= number of points of discontinuity of f,
b= number of points of non-differentiability of f,
c= number of points of discontinuity of g, and
d= number of points of non-differentiability of g.
What is the value of a+b+c+d?