Update file with problem of date count