Porcupines do not have "quills" in the traditional sense. They have barbs, which are sharp, modified hairs.
There is no set number for how many barbs a porcupine has, as it varies by species and individual. However, a single porcupine can have thousands of barbs.