add numberToReturn parameter to find cursor.

Signed-off-by: Daogang Tang <daogangtang@gmail.com>