Does the amount of a substance affect its temperature?

yes