The graph of a function $y = f ( x )$ defined on all real numbers is as shown in the figure, and a cubic function $g ( x )$ has leading coefficient 1 and $g ( 0 ) = 3$. When the composite function $( g \circ f ) ( x )$ is continuous on all real numbers, what is the value of $g ( 3 )$? [4 points]\\
(1) 31\\
(2) 30\\
(3) 29\\
(4) 28\\
(5) 27