Utility to measure the number of bytes a value takes.