[squash] better place for map_docs stats counter