Well, don't keep your working code a secret. Let us know what you have tried.
Depending on the RPM and the accuracy required, it should not be hard to measure half a dozen at once. It would require the use of interrupts however. That's a fairly advanced topic.