Determination of charges conducted in lightning strokes