How old was Selena gomez on Barney and friends?

Selena Gomez was 7 years old on Barney and Friends