The coefficient of $x ^ { 3 }$ in the expansion of $\left( 1 + 2 x ^ { 2 } \right) ( 1 + x ) ^ { 4 }$ is A. 12 B. 16 C. 20 D. 24