Cute little command line one-liner to count the number of decimal digits in a number:

echo "9,223,372,036,854,775,807" | \
    oak eval "stdin |> std.filter(str.digit?) |> len()"

(That number is INT64_MAX, if you are curious.)