response fix rows should return total number of rows, add fromrow, torow closes #31