skips 'count' entries in ldap results. Fixes FS#2370

Implements the fix as suggested by
https://bugs.dokuwiki.org/index.php?do=details&task_id=2370

**This is not tested**