Seniors and students

2022 is the first year that I am contributing towards a RPP, amount deducted at source from paycheck.  Does that mean that the Pension amount on box 52 will only reduce the 2022 RRSP contribution limit and not affect the 2021 NOA RRSP limit, correct?

 

Let's say I had a room of 100k on my 2021 NOA RRSP limit, I contributed say 80k towards my RRSP between March 15, 2022 and Dec. 31, 2022. The RPP amount on my T4 say is 10k,  while the Pension Adjustment on Box 52 is 20k, does that mean I still have 10k room left to contribute (100k-80k-10k) before the March 1st deadline? Can someone confirm if my math is correct before I contribute the additional 10k?