line-length

longest line in vim?

Is there a command to determine length of a longest line in vim? And to append that length at the beginning of the file? ...