The number of solutions of the equation $x + 2 \tan x = \frac { \pi } { 2 }$ in the interval $[ 0,2 \pi ]$ is\\ (1) 3\\ (2) 4\\ (3) 2\\ (4) 5