Syntax:
count = ccnx.warning_count()
Returns the number of errors, warnings, and notes produced by the previous SQL statement.