db count when 'details=on' implemented for both discovery and query
CHANGES_NEXT_RELEASE