Step.count: def of bend-toon-codec@0.1.0.0 Import: import bend-toon-codec@0.1.0.0/src/step.bend as Step Lines 23-28 of bend-toon-codec@0.1.0.0/src/step.bend: https://jend.leeeet.dev/read.txt?path=bend-toon-codec@0.1.0.0/src/step.bend&start_line=23&end_line=28 import Base import bend-toon-codec@0.1.0.0/src/json.bend as J def count(+xs: J.Json) -> U32: match xs: case J.JCons{h, t}: (1 + count(t) : U32) case _: 0 Uses (3): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.add https://jend.leeeet.dev/definition.txt?path=bend-toon-codec@0.1.0.0/src/json.bend&name=Json