A study of the total lightning activity in two hailstorms