Populating CursorPage.totalSize if cursorKey is null