Count Pulse of the veins

Can we count Pulse of the veins using mit app inventor.How can we do it using phone light?