Add total results query. Query vocabularies.