Validate document update stats

This adds two new metrics about counting validation rejections and the time was spent on running vdu functions. The reason for each inside commit messages.
suggest the standard timer:tc function.