Fix cursor size issue

Cursor size should return the number of objects matching the query taking limit/skip into consideration