Sounds like a good program for an ardiuno and a couple of hall effect sensors.
Then write out the counts to a delimited file on sd card.. Once you have that put it in excel and pull the stats.