select count(*) from dual where exists (select 1 from dotlrn_users where user_id = :user_id)