Document viewing and hovering now also logs the document length for reference