$ 0 0 select count(*) from sys.user$where user# in (select user_id from dba_userswhere account_status = 'OPEN')and ((ptime is null)or(ptime is not nulland ptime <= ctime));