In Spanish we use verb "tener" (to have) to express the age, hence the question in these cases is:
¿Cuántos años tienes? (lit. 'how many years do you have?')
Two alternative ways to ask the age can be:
¿Qué edad tienes? (lit. 'what age do you have?')
¿Cuál es tu edad? (what's your age?)
Un saludo desde Asturias