Add count type to Agent check

why do we want to deprecate `rate`?