Add count type to Agent check

why do we need this variable?