Returns the total number of messages in the error buffer, as well as the number of errors and warnings.
function countMessages output Integer numMessages; output Integer numErrors; output Integer numWarnings; end countMessages;