merge_1 doc_count scope fix