[eluser]afsar[/eluser]
for total no.of pages use: $this->pagination->total_rows.
for current page, if you did not changed this setting $config['uri_segment'] = 3;, $current_pagenumber =$this->uri->segment(3);.
if you did not get what this post is suggesting, read other related examples for pagination, u will get the idea. it is simple to fix. you can, all the best.