JQuery cycle plugin - page, prev/next and image count

JQuery cycle plugin - page, prev/next and image count

Hi,

I'm having some trouble working out how I can get three things working on an image gallery I'm building. I need to show a:

1. Pager nav
2. 'Prev' and 'next' links
3. Image x of x for the current image i.e. Image 3 of 8

I believe this should sort the pager nav and prev/next links:
  1. $('#slides').before('<div id="nav">').cycle({
  2.       fx: 'slideLeft',
  3.       speed:  'fast',
  4.       timeout: 0,
  5.       next:   '#next2',
  6.       prev:   '#prev2',
  7.       pager:  '#nav'
  8. });
But I have no idea about point 3...how would I display 'Image x of x'? Any ideas?

Thanks,

osu