Add CursorSource size getter
CursorSource::size() provides a way to get the size of the attached cursor source without actually looking into its contents.
CursorSource::size() provides a way to get the size of the attached cursor source without actually looking into its contents.