added a change file count method