Count the number of users that are logged in.
select count(*) from users where user_login = 1