The number of real roots of the equation $\tan ^ { - 1 } \sqrt { x ( x + 1 ) } + \sin ^ { - 1 } \sqrt { x ^ { 2 } + x + 1 } = \frac { \pi } { 4 }$ is:\\ (1) 1\\ (2) 2\\ (3) 4\\ (4) 0