The number of solutions of equation [sin x ] = [1 + sin x] + [ 1 - cos x] where [.] denotes the greatest integer function and is