Forum:Prime Material Dragon

Will Prime Material Dragons effect make you gain Life Points that you lost due to a cost. For example if you have Prime Material Dragon on the field and you activate Prmature Burial will you gain those 800 lifepoints or will that loss not count as damage because it was a cost???