Moving `count` and `any` off of `AgentSet`