Add getNum to data and children