Initial code import from conduit
count-chars benchmark