Oracle Message DRG-10827 - open_con must be performed before count_last

ERRORopen_con must be performed before count_last
CAUSElast_count returns hit from in-memory query,so an in-memory query must be run before you can use count_last
ACTIONexecute open_con before run count_last