- get length for content byte[]