Use string length for doc size