select count(*) as num_on from onlineuser where '1490220609'-logtime<=500