IR sensor, rpm counter with datalogger

im trying to do a project to calculate rpm, but im not sure where to even start... can someone explain to me what i need to do, it would be greatly appreciated!

http://playground.arduino.cc/Main/ReadingRPM