Protect from division by zero in PrCounter2 See merge request !1088 (cherry picked from commit d810b1b2) ad71120c Protect from division by zero