Number of times the current document has been painted to the screen

Resolves #462