select count(*) from dual where exists (select 1 from dotlrn_applets where dotlrn_applets.applet_key = :applet_key)