(no version information, might be only in CVS) Returns the number of error reasons. See also hwapi_error_reason().