The number of solutions of the equation |cosx|=2[x] are (where [.] denotes the greatest integer function) is/are
The number of solutions of equation [sin x ] = [1 + sin x] + [ 1 - cos x] where [.] denotes the greatest integer function and is