In this project you can learn how you can count your pulse with IR sensor, this project by make here you can see the video.
Video tutorial for count pulse by infrared Sensor
for more details about the project, please visit http://makezine.com/projects/ir-pulse-sensor/