Add count type to Agent check

same comment as above; not sure this variable is needed.