get the length of a string in rust code example Example: get length of string rust my_string.chars().count()