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