Clilist.total_of: def of cswap-bend-cli@0.1.0.0 Import: import cswap-bend-cli@0.1.0.0/clilist.bend as Clilist Lines 207-208 of cswap-bend-cli@0.1.0.0/clilist.bend: https://jend.leeeet.dev/read.txt?path=cswap-bend-cli@0.1.0.0/clilist.bend&start_line=207&end_line=208 import Base import cswap-bend-cli@0.1.0.0/json.bend as Json def total_of(+seq: Json.Json) -> Json.Json: Json.JNum{Nat.show(List.length(&2, String, Json.keys(Maybe.default(&2, Json.Json, Json.get("accounts", seq), Json.JNull{}))))} Uses (7): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List.length https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe.default https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat.show https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/json.bend&name=Json https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/json.bend&name=get https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/json.bend&name=keys