Step 1:
Valmiki Ramayana is one of the two great Indian epics.
Step 2:
It was composed by Maharishi Valmiki.
Step 3:
Traditionally, the Ramayana contains:
\[
24,000 \text{ shlokas}
\]
Step 4:
Thus, the correct option is:
\[
\boxed{\text{(2) 24,000}}
\]