Created BasicDocFinderTest and updated BasicDocFinder to get count from cursor after applying skip and limit