Modify quick count in discover to use sampleSize config
Merge pull request #2080 from lukasolson/issue-2077

Modify quick count in discover to use sampleSize config