add missing support for the :group ar_options

fixes #170 
when showing pagination - all records we have to use the length method so that
we get the size of the array ( for group we would get a hash with grouped counts)