fix counting when ldapPagingSize is 0
fix counting when ldapPagingSize is 0

pollopolea/core,pmattern/server,xx621998xx/server,lrytz/core,sharidas/core,bluelml/core,pollopolea/core,andreas-p/nextcloud-server,Ardinis/server,nextcloud/server,endsguy/server,IljaN/core,pollopolea/core,endsguy/server,phil-davis/core,lrytz/core,pmattern/server,michaelletzgus/nextcloud-server,endsguy/server,owncloud/core,pmattern/server,andreas-p/nextcloud-server,sharidas/core,sharidas/core,lrytz/core,endsguy/server,whitekiba/server,Ardinis/server,nextcloud/server,owncloud/core,owncloud/core,bluelml/core,michaelletzgus/nextcloud-server,jbicha/server,sharidas/core,pixelipo/server,pixelipo/server,sharidas/core,Ardinis/server,xx621998xx/server,xx621998xx/server,cernbox/core,pixelipo/server,cernbox/core,andreas-p/nextcloud-server,whitekiba/server,pixelipo/server,endsguy/server,andreas-p/nextcloud-server,jbicha/server,nextcloud/server,lrytz/core,whitekiba/server,bluelml/core,xx621998xx/server,IljaN/core,owncloud/core,whitekiba/server,michaelletzgus/nextcloud-server,nextcloud/server,bluelml/core,pmattern/server,whitekiba/server,jbicha/server,lrytz/core,michaelletzgus/nextcloud-server,cernbox/core,pollopolea/core,andreas-p/nextcloud-server,pmattern/server,Ardinis/server,jbicha/server,xx621998xx/server,cernbox/core,owncloud/core,cernbox/core,pollopolea/core,Ardinis/server,jbicha/server,pixelipo/server,IljaN/core,IljaN/core,IljaN/core,bluelml/core