Counting pulses

Serial.print() relies on interrupts being enabled. During your ISR, they are not. Don't use Serial.print() in an ISR.