title: How many times was logging.error() called?
body: <p>Maybe it's just doesn't exist, as I cannot find it.  But using python's logging package, is there a way to query a Logger to find out how many times a particular function was called? For example, how many errors/warnings were reported?</p>