Added explicit passsing of object for pagination extraction, as options[:pagination]. Modified count metadata setting in Respondable#metadata_for to use length or count if length is undefined