Using Reed Switch for building a rpm counter

Since coding wise, there's not a whole not of difference between using a hall switch or reed switch, I'd suggest going with a hall switch since it is much more reliable.