What is the simplest way to get the total number of
characters in a view to a buffer? I am writing a plugin
so I need to know the methods of 'view' which might
be used to this purpose, or any command to this end.
This must be easy but I'm not finding in the docs.