Completions in measure of languages and related combinatorial problems