resolve issue #40 aka adding getter on limit and offset

Here is the #40 PR