Return the number of bytes of a string.
key
The number of bytes of the string, if key not exists, returns 0.