It seems that the counting of people dead for the heat is more or less made simply by comparing the number of people dead this summer with the number of the previous summer.
Of course, they are not dead exactly "because of the hot wheather" , but mostly they were old people having other health problems, and the heat simply made them heavier.