ActiveResource and pagination

I’m trying to use activeresource for something i’m working on and was
wondering what the best way to paginate records is.

Currently I have a count method on my controller which I was going to
call using an ordinary http get since there doesn’t seem to be a way of
calling non default methods/actions using ARes.

Is there a better way to do this?