Excess baggage charges cover origin to destination, including connections, but not stopovers.
So, if you are in YYC for more than 4 hours, then you will recheck your bags, and excess charges can be levied again. However, if you are only changing planes in YYC, then YVR will charge you for excess from YVR-YYZ.