Hey there,
I have an example,
temperature is average energy per unit of measurement
total thermal energy is the energy as a whole
One situation is that one object is considerably larger than the other one, they have the same average temperature, but in whole, the one with larger mass also contains more thermal energy.
Hope this helps :))
~Top