Let [x] denote the greatest integer function. What is the number of solutions of the equation x2−4x+[x]=0 in the interval [0,2]?