What is an Effective Way to Count the Number of Pages in Oracle?
If the typical use pattern is to page through all the data, then all the records will eventually need to be sent to the client.  In this scenario re-querying the database for every page is in-efficient.  You should consider running the query once and paging through a cache on the client side.

If on the other hand the typical use pattern is to page through a very small amount of the data, then this method may be appropriate.  Nick Chammas' comment on using ROW_NUMBER() is fleshed out by Tom Kyte in a Oracle Magazine article.  

SELECT * FROM (
   SELECT /*+ first_rows(25) */
      your_columns,
      Row_Number() Over (Order By something unique) rn
   FROM your_tables 
   )
WHERE rn BETWEEN :n AND :m 
ORDER BY rn;


I recommend you read the whole article.  Note in particular the warning to sort by something unique so that the results are consistent between pages (given static data):


  You need to order by something unique for these pagination queries, so
  that ROW_NUMBER is assigned deterministically to the rows each and
  every time.