pci: get the number of interrupts