Attempts counter and checkpoints?

Hi how do you make an attempts counter. Every time you die it ad 1 to your attempts.
Any tutorials or templates I can download?
Also how to make checkpoints.
Any Videos?
Any tutorials or templates I can download?
Also how to make checkpoints.
Any Videos?