VM counter functionality added within diagnostics