title: Count no of rows in refcursor?
body: <p>I have procedure which has a refcursor as an out parameter . I need to  count the no of rows in a ref cursor and if its exceeds the maximum limit I need to send the error msg.</p>
  
  <p>Please suggest me how to count the rows in the ref cursor</p>