When you go out in Japan you can expect to be asked this phrase.
This is the polite way of asking how many people are in your party. When responding, instead of using the term 名様 (mei-sama) you should say (number of people) plus 人 (nin).
三人です。(San-nin desu.): Three people.
P.S. Get Your Daily Dose of Japanese with 1-Minute Mini-Lessons
The Daily Dose of Japanese is a Calendar that gives you new, 1-minute lessons every day. Why? Because learning a little every day is easy, strengthens your habits and motivation and you improve your Japanese over time. Lessons range from culture and holidays to grammar, slang, phrases and more. Find it in the Japanese Resources menu or in the Quick Links menu on your Dashboard.