Update count file