This method returns the number of messages. The status line message is the first message. If the ispec generates more than one error message, this returns the number of error messages.