Counting heart beats: a peephole into prediction of sudden and nonsudden cardiac death.