def METHOD_NAME(args):
    """
    Wait for group to have zero (or --count) members.
    """
    h = flux.Flux()
    rpc = h.rpc(
        "groups.get",
        {"name": args.name},
        nodeid=0,
        flags=flux.constants.FLUX_RPC_STREAMING,
    )
    rpc.then(waitfor_continuation, args.count)
    h.reactor_run()