La frase idiomatica è ¿Cuántos años tienes? (informale) o ¿Cuántos años tiene? (formale).
Lo spagnolo usa tener (avere) per l'età, non ser (essere). Tu hai anni, non sei anni.
Nota: La query "how many years have" è un errore di traduzione diretta; la domanda corretta è "how many years do you have?"