The bulk loader now needs to know how many records each region receives before streaming. Extend /workspace/kv/route.sh so that it also writes OUTDIR/counts.txt with one line region-<n> <count> per region, in region order, including regions with 0 records. Routing and everything else stay the same; see /workspace/kv/README.md. The result will be run directly on this machine, so make sure it actually works here.