OPSMN-5957: Updated the queries interface to rely on the newly added DB rows count variable in the facet search API response for deciding whether to do remote searching or local search.
OPSMN-5957: Updated the queries interface to rely on the newly added
DB rows count variable in the facet search API response for deciding
whether to do remote searching or local search.

When DB rows count is less than 500, local search is performed.
When DB rows count is 500 or more, remote search is performed.

krishagni/openspecimen,krishagni/openspecimen,krishagni/openspecimen