This sentence sounds like it is from a literature that isn't written in the recent decades. You can also say this as 놀랐겠냐 말이다, which translates to "How surprised would I have been." It's a bit old Korean, and commonly people wouldn't say this in a conversation, but it's a good idiom to know.