Back to the dictionary
そうなんです (sounandesu) means "yes; that is so". It is an interjection. It is a colloquial word.