It is not a typical conversation starter in Japan, but they tend to ask the question to children and young people. People in their thirties (and older) may not like to answer the question, especially female people :)
I would ask how old they are if they look like teenagers or college students.
This question has been answered by George-san. https://www.yesjapan.com/YJ6/?page=question&var3=557