https://stackoverflow.com/questions/5533192/how-to-get-object-length
Anonymous
Choose portability over efficiency.