Script function SYS_ACTIVE_COUNT returns 0 when selecting specific Agent and Object type