def METHOD_NAME(*args, **kwargs):
    """Wraps sqlite3.dbapi.connect(), returning a wrapped connection."""
    global connect_counter
    conn = old_connect(*args, **kwargs)  # pylint: disable=not-callable
    return ConnectionWrapper(conn)