total errors correctly calculated