To give the short answer to your question....all of them. If you have a catless uppipe, it's doubtful they'll fail you just for that because most inspection stations look for the after turbo cats in the exhaust portion, not the preturbo piping (plus the STi has not cat there, so you might be able to say it's a factory pipe, etc, etc).
The long answer is, you need however many cats are needed to
A: Pass tailpipe emissions if that's what your state does (in my experience, yes, a catless car can pass if it's tuned properly).
B: Not throw a code on your ecu. This means either a reflash like accessport (as mentioned) or a mechanical resistor fix in place to fool the ECU.
Basically you just need to find out what the state mandates for inspection. This can be accomplished by asking someone in the local forums. I would recommend trying to get with other local clubwrx members and find out what they have done. Worst comes to worst you can just find the shadiest inspection shop and try to slip the guy like 200 bucks to pass you. Yeah it's stupid, it's illegal, blah blah, but after you drive off his inspection station it's your responsibility to have DOT compliant parts on your car...what says you couldn't have installed the catless exhaust 20 minutes after he inspected your stock car....see where I'm going with this?
Best of luck,
~Tim