Revert "Fix unique documents count if a language selected"

This reverts commit 00e64897fa28609d8285f1318a23b7ffbc058c15.
Proper fix for unique documents counts