remote count+local merge
local merge + remote count