version of autocompletion with count job (normal perfomance but still
some bugs)
now count issues in query only when needed and perform finish