The number of the real solutions of the equation \( x|x+3|+|x-1|-2=0 \) is:
\( 4 \)
\( 3 \)
\( 2 \)
\( 5 \)