Difference between len() vs chars().count() in Rust
If you are coming from different languages like Python, you might guess that len() return the length of variable, if it is String, means the number of characters in it, but indeed it is not.
Instead String.len() return the bytes of that String.