Avoid doing scroll queries when only interested in count