update file count