How many users are logged in?
select count(*) from users where user_login = 1