Add count type to Agent check

Right got it. I didn't realize we were resetting the counter at every flush.