The correct option is B 31 pairs
The total number of spinal nerves is 31 pairs. These nerves arise from the spinal cord and are classified as 8 pairs of cervical, 12 pairs of thoracic, 5 pairs of lumbar, 5 pairs of sacral and 1 pair of coccygeal nerves.
Thus the correct answer is option B.