The A/C stopped working after about 2 years on my brand new xA. Is that normal? on 2006 Scion xA

I bought the Scion in 07. I stopped driving until recently after the A/C stopped. I didn't bother getting it fixed, I just assumed it needed to be recharged so when i began driving again I took it in to get recharged and I'm told I need a new compressor. How normal is this? and how can I make sure this is indeed what I need?

Asked by for the 2006 Scion xA