def Handle(self, args, token=None):
    hunt = aff4.FACTORY.Open(HUNTS_ROOT_PATH.Add(args.hunt_id),
                             aff4_type="GRRHunt", token=token)

    stats = hunt.GetRunner().context.usage_stats

    return ApiGetHuntStatsResult(stats=stats)
Retrieves the stats for a hunt.
dataset/ETHPy150Open google/grr/grr/gui/api_plugins/hunt.py/ApiGetHuntStatsHandler.Handle