fixed Curser::count()