Renamed count of errors in check_parameters()