fix the number of completed todos