By "some countries" you mean United States, Liberia, and Myanmar
But miles has gone out of fashion. Pounds too..
Likewise, Liberia set up a transition program in 2018.
AFAIU both still use a bunch of traditional non US units too, like the UK.
After all, they’re the ones manufacturing the imperial screws, etc.