only count latest agent versions