Step 1: Recall the structure of the periodic table.
The number of elements in a period depends on the subshells being filled:
Step 2: Identify the number of elements in the 4th period.
In the 4th period, the \( 4s \), \( 3d \), and \( 4p \) subshells are filled. These subshells accommodate a total of:
\[ 2 (\text{from } 4s) + 10 (\text{from } 3d) + 6 (\text{from } 4p) = 18 \, \text{elements}. \]
Final Answer: The number of elements in the 4th period is \( \mathbf{18} \), which corresponds to option \( \mathbf{(3)} \).