Evaluate limx→5π4[sinx+cosx], where [.] denotes the greatest integer function.
The number of solutions of equation [sin x ] = [1 + sin x] + [ 1 - cos x] where [.] denotes the greatest integer function and is