def get_started(tr): return joshua_model._get_snap_counter(tr, ensemble_id, "started")
def get_fails(tr: fdb.Transaction, ensemble_id: str) -> int: return joshua_model._get_snap_counter(tr, ensemble_id, "fail")