async def METHOD_NAME(
    self,
    client: OpenrCtrlCppClient.Async,
    resp: Mapping[str, int],
    prefix: str,
    json: bool,
) -> None:
    """print the Kv Store counters"""
    host_id = await client.getMyNodeName()
    caption = "{}'s counters".format(host_id)
    rows = []
    for key, counter in sorted(resp.items()):
        if not key.startswith(prefix):
            continue
        rows.append([key, ":", counter])
    if json:
        json_data = {k: v for k, _, v in rows}
        print(utils.json_dumps(json_data))
    else:
        print(
            printing.render_horizontal_table(
                rows, caption=caption, tablefmt="plain"
            )
        )
        print()