use dual query for query slicing - one for count, another for the actual records when requested.https://redmine.dataone.org/issues/3065
use dual query for query slicing - one for count, another for the actual records when requested.
https://redmine.dataone.org/issues/3065