declare @x
select  @x=select count(distinct age ) from table1