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.
It would reduce the diff significantly if we incremented the counter before the case statement when Resp /= 1.