If you're nervous about traffic, time your crossing to walk parallel to a local. They've done this thousands of times.
Stick close — maybe half a step behind on the upstream side, so they buffer the oncoming flow. Match their pace exactly.
This works at zebra crossings (which drivers often ignore) and unmarked intersections alike. After a few crossings, you'll feel the rhythm yourself.