add counter-mode for RRDs