how do I count the calories I burn?

How do I figure out the calories I burn during a workout. ?