Peripheral nerves include:
12 pairs of cranial nerves and 8 pairs of cervical spinal nerves
31 pairs of spinal nerves
31 pairs of cranial nerves.
12 pairs of cranial nerves and 31 pairs of spinal nerves.