Counting multiple pulse input

Use INTx or PCINTx.