I didn't get using phrase "That's a shame!" in the following situation
I was buying something in pharmacy and the cashier has noticed that English is not my native language, and then she asked: "How many languages can you speak?" I said - 3 languages, and then she - "Oh, that's a shame!". I was like "What!??", but I didn't say anything after that, I mean I know the meaning of this word... Can anyone explain what did she mean? :DDDD