def METHOD_NAME(query, query_args = []):
    """
    Run a query that produces a single numeric result and return it.
    """
    cursor = dbcursor_query(query, query_args)
    if cursor.rowcount == 0:
        return not_found()
    row = cursor.fetchone()
    cursor.close()
    return ok(str(row[0]))